cvs: php4(PHP_4_0_7) /ext/mbstring mbfilter.c

From: Date: Wed, 29 Aug 2001 11:33:07 +0000
Subject: cvs: php4(PHP_4_0_7) /ext/mbstring mbfilter.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7117@lists.php.net to get a copy of this message
wez Wed Aug 29 07:33:07 2001 EDT Modified files: (Branch: PHP_4_0_7) /php4/ext/mbstring mbfilter.c Log: MFH Index: php4/ext/mbstring/mbfilter.c diff -u php4/ext/mbstring/mbfilter.c:1.12.2.1 php4/ext/mbstring/mbfilter.c:1.12.2.2 --- php4/ext/mbstring/mbfilter.c:1.12.2.1 Tue Aug 28 18:19:52 2001 +++ php4/ext/mbstring/mbfilter.c Wed Aug 29 07:33:06 2001 @@ -79,7 +79,7 @@ * */ -/* $Id: mbfilter.c,v 1.12.2.1 2001/08/28 22:19:52 wez Exp $ */ +/* $Id: mbfilter.c,v 1.12.2.2 2001/08/29 11:33:06 wez Exp $ */ #include <stdlib.h> @@ -7061,10 +7061,10 @@ n = string->len; if (p != NULL) { while (n > 0) { + n--; if ((*encoder->filter_function)(*p++, encoder) < 0) { break; } - n--; } mbfl_convert_filter_flush(encoder); if (pc.status != 0 && mkwidth > 0) {

« previous php.cvs (#7117) next »