diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-12-08 00:22:22 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-12-08 00:22:22 +0000 |
commit | b6c0003ffdf89b4fc5e2e537bac9133c63fba104 (patch) | |
tree | 42b921fba198dae582c5b88f506044c10449ef22 | |
parent | 79ad7aeb6d35962bdaf6f8458436c980f4f997a2 (diff) | |
download | php-git-b6c0003ffdf89b4fc5e2e537bac9133c63fba104.tar.gz |
Fix a convert filters bug that occurs when multiple buckets are coming in.
-rw-r--r-- | ext/standard/filters.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/filters.c b/ext/standard/filters.c index ae7dfa8c4a..ce8be65ce3 100644 --- a/ext/standard/filters.c +++ b/ext/standard/filters.c @@ -1615,7 +1615,7 @@ static php_stream_filter_status_t strfilter_convert_filter( } /* update consumed by the number of bytes just used */ - consumed = bucket->buflen - icnt; + consumed += bucket->buflen - icnt; /* give output bucket to next in chain */ if (out_buf_size - ocnt > 0) { |