summaryrefslogtreecommitdiff
path: root/main/streams/streams.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-04-11 15:19:27 +0000
committerAntony Dovgal <tony2001@php.net>2005-04-11 15:19:27 +0000
commit2a83dbdf1ccaf8be1dbb98734b5e0851fe723c6c (patch)
tree84a606e1d6b3fb5fff8eaf2f686a2b567630fbd7 /main/streams/streams.c
parente9224d0bd1e06028f8f40257a736a00216fefe66 (diff)
downloadphp-git-2a83dbdf1ccaf8be1dbb98734b5e0851fe723c6c.tar.gz
revert the patch, the problem seems to be somewhere else
Diffstat (limited to 'main/streams/streams.c')
-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 {