cvs: php-src(PHP_5_3) /ext/iconv iconv.c
| From: | Antony Dovgal | Date: | Thu, 01 Nov 2007 19:13:39 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/iconv iconv.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-46889@lists.php.net to get a copy of this message | ||
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};