hirokawa Fri Nov 25 17:18:48 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/mbstring mbstring.c
Log:
5th argument of mb_encode_mimeheader() was not acceptable.
http://cvs.php.net/diff.php/php-src/ext/mbstring/mbstring.c?r1=1.214.2.6&r2=1.214.2.7&ty=u
Index: php-src/ext/mbstring/mbstring.c
diff -u php-src/ext/mbstring/mbstring.c:1.214.2.6
php-src/ext/mbstring/mbstring.c:1.214.2.7
--- php-src/ext/mbstring/mbstring.c:1.214.2.6 Wed Nov 23 10:17:09 2005
+++ php-src/ext/mbstring/mbstring.c Fri Nov 25 17:18:45 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mbstring.c,v 1.214.2.6 2005/11/23 15:17:09 hirokawa Exp $ */
+/* $Id: mbstring.c,v 1.214.2.7 2005/11/25 22:18:45 hirokawa Exp $ */
/*
* PHP 4 Multibyte String module "mbstring"
@@ -2285,7 +2285,7 @@
string.no_language = MBSTRG(current_language);
string.no_encoding = MBSTRG(current_internal_encoding);
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|sss", (char
**)&string.val, &string.len, &charset_name, &charset_name_len, &trans_enc_name,
&trans_enc_name_len, &linefeed, &linefeed_len, &indent) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|sssl", (char
**)&string.val, &string.len, &charset_name, &charset_name_len, &trans_enc_name,
&trans_enc_name_len, &linefeed, &linefeed_len, &indent) == FAILURE) {
return;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php