diff options
-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) { |