cvs: php4 /ext/mbstring mbstring.c
| From: | Jani Taskinen | Date: | Tue, 18 Jun 2002 00:56:12 +0000 |
| Subject: | cvs: php4 /ext/mbstring mbstring.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12394@lists.php.net to get a copy of this message | ||
sniper Mon Jun 17 20:56:12 2002 EDT
Modified files:
/php4/ext/mbstring mbstring.c
Log:
Fixed bug: #17137, test pass still
Index: php4/ext/mbstring/mbstring.c
diff -u php4/ext/mbstring/mbstring.c:1.72 php4/ext/mbstring/mbstring.c:1.73
--- php4/ext/mbstring/mbstring.c:1.72 Fri May 24 18:30:24 2002
+++ php4/ext/mbstring/mbstring.c Mon Jun 17 20:56:11 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mbstring.c,v 1.72 2002/05/24 22:30:24 hirokawa Exp $ */
+/* $Id: mbstring.c,v 1.73 2002/06/18 00:56:11 sniper Exp $ */
/*
* PHP4 Multibyte String module "mbstring" (currently only for Japanese)
@@ -2792,8 +2792,8 @@
}
}
} else if (Z_TYPE_PP(var) == IS_STRING) {
- string.val = Z_STRVAL_PP(args[n]);
- string.len = Z_STRLEN_PP(args[n]);
+ string.val = Z_STRVAL_PP(var);
+ string.len = Z_STRLEN_PP(var);
if (mbfl_encoding_detector_feed(identd, &string TSRMLS_CC)) {
goto detect_end; /* complete detecting */
}