diff options
author | Antony Dovgal <tony2001@php.net> | 2005-04-11 15:19:27 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2005-04-11 15:19:27 +0000 |
commit | 2a83dbdf1ccaf8be1dbb98734b5e0851fe723c6c (patch) | |
tree | 84a606e1d6b3fb5fff8eaf2f686a2b567630fbd7 /main/streams/streams.c | |
parent | e9224d0bd1e06028f8f40257a736a00216fefe66 (diff) | |
download | php-git-2a83dbdf1ccaf8be1dbb98734b5e0851fe723c6c.tar.gz |
revert the patch, the problem seems to be somewhere else
Diffstat (limited to 'main/streams/streams.c')
-rwxr-xr-x | main/streams/streams.c | 4 |
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 { |