summaryrefslogtreecommitdiff
path: root/main/streams/streams.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-05-27 13:04:14 +0000
committerWez Furlong <wez@php.net>2004-05-27 13:04:14 +0000
commitb369925372b51b0b9566476d3d56de0331d70ce1 (patch)
tree4ede1a85a71c70b5cd2d18abe42ad9fcd5970546 /main/streams/streams.c
parentab34eb7330405ffeea2566459b55edc1289ab8bc (diff)
downloadphp-git-b369925372b51b0b9566476d3d56de0331d70ce1.tar.gz
Fix #25939 for good this time.
# How could I miss this??
Diffstat (limited to 'main/streams/streams.c')
-rwxr-xr-xmain/streams/streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c
index fbce8ecfc7..df5b506029 100755
--- a/main/streams/streams.c
+++ b/main/streams/streams.c
@@ -608,7 +608,7 @@ PHPAPI int _php_stream_eof(php_stream *stream TSRMLS_DC)
/* use the configured timeout when checking eof */
if (!stream->eof && PHP_STREAM_OPTION_RETURN_ERR ==
php_stream_set_option(stream, PHP_STREAM_OPTION_CHECK_LIVENESS,
- -1, NULL)) {
+ 0, NULL)) {
stream->eof = 1;
}