diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-03-31 23:22:10 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-03-31 23:22:10 +0000 |
commit | 8d2dd87d8909f35c4053c11b260b8282a4a34e3a (patch) | |
tree | 34a0a770974a5884451198ed8a1f1ddd2ae7b913 | |
parent | d38d39a46c4172b4af583cf219247cbded945b0d (diff) | |
download | php-git-8d2dd87d8909f35c4053c11b260b8282a4a34e3a.tar.gz |
Fixed bug #22538 (stream filter problem)
-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 8abf10bc8f..e473dad154 100755 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -843,7 +843,7 @@ static size_t _php_stream_write_buffer(php_stream *stream, const char *buf, size /* Only screw with the buffer if we can seek, otherwise we lose data * buffered from fifos and sockets */ - if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0 && !php_stream_is_filtered(stream)) { + if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { stream->position += justwrote; } } else { |