From b369925372b51b0b9566476d3d56de0331d70ce1 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 27 May 2004 13:04:14 +0000 Subject: [PATCH] Fix #25939 for good this time. # How could I miss this?? --- main/streams/streams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0