tony2001 Thu Nov 1 19:13:39 2007 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/iconv iconv.c
Log:
MFH: initialize correct variable
http://cvs.php.net/viewvc.cgi/php-src/ext/iconv/iconv.c?r1=1.124.2.8.2.20.2.3&r2=1.124.2.8.2.20.2.4&diff_format=u
Index: php-src/ext/iconv/iconv.c
diff -u php-src/ext/iconv/iconv.c:1.124.2.8.2.20.2.3
php-src/ext/iconv/iconv.c:1.124.2.8.2.20.2.4
--- php-src/ext/iconv/iconv.c:1.124.2.8.2.20.2.3 Sun Oct 7 05:22:04 2007
+++ php-src/ext/iconv/iconv.c Thu Nov 1 19:13:39 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: iconv.c,v 1.124.2.8.2.20.2.3 2007/10/07 05:22:04 davidw Exp $ */
+/* $Id: iconv.c,v 1.124.2.8.2.20.2.4 2007/11/01 19:13:39 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -2167,9 +2167,9 @@
PHP_FUNCTION(iconv_mime_decode)
{
char *encoded_str;
- int encoded_str_len = 0;
+ int encoded_str_len;
char *charset;
- int charset_len;
+ int charset_len = 0;
long mode = 0;
smart_str retval = {0};
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php