From 39e0e30af0f572930628cf42c2d696966c9958eb Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 11 Apr 2005 15:19:40 +0000 Subject: [PATCH] MFH: revert the patch --- main/streams/streams.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main/streams/streams.c b/main/streams/streams.c index f3154ccaa6..01541a67ef 100755 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -836,10 +836,6 @@ PHPAPI char *php_stream_get_record(php_stream *stream, size_t maxlen, size_t *re php_stream_fill_read_buffer(stream, maxlen TSRMLS_CC); - if ((stream->writepos - stream->readpos)<=0) { - return NULL; - } - if (delim_len == 0 || !delim) { toread = maxlen; } else { -- 2.50.1