diff options
author | Antony Dovgal <tony2001@php.net> | 2010-04-08 09:56:18 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2010-04-08 09:56:18 +0000 |
commit | d2699793e080da616c585053867ea8f668347db9 (patch) | |
tree | 196d8f017109df5d104751633baa75ae8f69beec /main/streams/streams.c | |
parent | 8338d48828f3ee0ef27e82e78c3f3871d1d36e97 (diff) | |
download | php-git-d2699793e080da616c585053867ea8f668347db9.tar.gz |
fix build
Diffstat (limited to 'main/streams/streams.c')
-rwxr-xr-x | main/streams/streams.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c index 58a507446f..ccb7e34632 100755 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -598,7 +598,7 @@ PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t size TSRMLS if (size == 0) { break; } -__debugbreak(); + if (!stream->readfilters.head && (stream->flags & PHP_STREAM_FLAG_NO_BUFFER || stream->chunk_size == 1)) { toread = stream->ops->read(stream, buf, size TSRMLS_CC); } else { |