summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2002-11-21 10:29:11 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2002-11-21 10:29:11 +0000
commitfb5ac5d28694480d307deabc41e5765d9706217e (patch)
tree12eec01c42a60f5cc6d4ab340db2ab804a205cca /ext/standard/php_fopen_wrapper.c
parent5d0f205df8a9fb23beb226adfa899e7308cd031b (diff)
downloadphp-git-fb5ac5d28694480d307deabc41e5765d9706217e.tar.gz
the apache 1.x sapi read_posts tests for SG(read_post_bytes) being
counted up, so lets make it happy although this value is not really needed in these cases ...
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r--ext/standard/php_fopen_wrapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c
index 5d40a5a9aa..27230602a3 100644
--- a/ext/standard/php_fopen_wrapper.c
+++ b/ext/standard/php_fopen_wrapper.c
@@ -96,6 +96,7 @@ static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count
}
}
+ SG(read_post_bytes) += read_bytes;
return read_bytes;
}