cvs: php-src /ext/standard filters.c

From: Date: Mon, 08 Dec 2003 00:22:23 +0000
Subject: cvs: php-src /ext/standard filters.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-25067@lists.php.net to get a copy of this message
moriyoshi Sun Dec 7 19:22:23 2003 EDT Modified files: /php-src/ext/standard filters.c Log: Fix a convert filters bug that occurs when multiple buckets are coming in. Index: php-src/ext/standard/filters.c diff -u php-src/ext/standard/filters.c:1.36 php-src/ext/standard/filters.c:1.37 --- php-src/ext/standard/filters.c:1.36 Thu Aug 28 12:49:57 2003 +++ php-src/ext/standard/filters.c Sun Dec 7 19:22:22 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: filters.c,v 1.36 2003/08/28 16:49:57 sas Exp $ */ +/* $Id: filters.c,v 1.37 2003/12/08 00:22:22 moriyoshi Exp $ */ #include "php.h" #include "php_globals.h" @@ -1615,7 +1615,7 @@ } /* 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) {

« previous php.cvs (#25067) next »