From 2a83dbdf1ccaf8be1dbb98734b5e0851fe723c6c Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 11 Apr 2005 15:19:27 +0000 Subject: [PATCH] revert the patch, the problem seems to be somewhere else --- main/streams/streams.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main/streams/streams.c b/main/streams/streams.c index 326e53a38f..68ce4f0a76 100755 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -847,10 +847,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