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) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php