summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmain/streams/streams.c4
1 files changed, 0 insertions, 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 {