projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
192dfc6
)
wret instead of ret var
author
Matteo Nastasi
<nastasi@alternativeoutput.it>
Mon, 30 Jul 2012 11:54:34 +0000
(13:54 +0200)
committer
Matteo Nastasi
<nastasi@alternativeoutput.it>
Mon, 30 Jul 2012 11:54:34 +0000
(13:54 +0200)
web/spush/brisk-spush.php
patch
|
blob
|
history
diff --git
a/web/spush/brisk-spush.php
b/web/spush/brisk-spush.php
index
d39ba04
..
788de8c
100755
(executable)
--- a/
web/spush/brisk-spush.php
+++ b/
web/spush/brisk-spush.php
@@
-268,8
+268,8
@@
function main()
$wret = @fwrite($new_socket, headers_render($header_out).$content);
if ($wret < $content_l) {
- printf("TROUBLES WITH FWRITE: %d\n", $ret);
- $user->rd_cache_set(mb_substr($content, $
ret, $content_l - $
ret, "ASCII"));
+ printf("TROUBLES WITH FWRITE: %d\n", $
w
ret);
+ $user->rd_cache_set(mb_substr($content, $
wret, $content_l - $w
ret, "ASCII"));
}
else {
$user->rd_cache_set("");