tony2001 Thu Nov 1 19:13:29 2007 UTC
Modified files:
/php-src/ext/iconv iconv.c
Log:
initialize correct variable
http://cvs.php.net/viewvc.cgi/php-src/ext/iconv/iconv.c?r1=1.160&r2=1.161&diff_format=u
Index: php-src/ext/iconv/iconv.c
diff -u php-src/ext/iconv/iconv.c:1.160 php-src/ext/iconv/iconv.c:1.161
--- php-src/ext/iconv/iconv.c:1.160 Sun Oct 7 05:15:03 2007
+++ php-src/ext/iconv/iconv.c Thu Nov 1 19:13:28 2007
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: iconv.c,v 1.160 2007/10/07 05:15:03 davidw Exp $ */
+/* $Id: iconv.c,v 1.161 2007/11/01 19:13:28 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -2234,9 +2234,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