cvs: php4 /ext/dom document.c
| From: | Sterling Hughes | Date: | Thu, 05 Jun 2003 18:29:55 +0000 |
| Subject: | cvs: php4 /ext/dom document.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21549@lists.php.net to get a copy of this message | ||
sterling Thu Jun 5 14:29:55 2003 EDT
Modified files:
/php4/ext/dom document.c
Log:
initialize the encoding length
Index: php4/ext/dom/document.c
diff -u php4/ext/dom/document.c:1.1 php4/ext/dom/document.c:1.2
--- php4/ext/dom/document.c:1.1 Thu Jun 5 13:06:52 2003
+++ php4/ext/dom/document.c Thu Jun 5 14:29:55 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: document.c,v 1.1 2003/06/05 17:06:52 rrichards Exp $ */
+/* $Id: document.c,v 1.2 2003/06/05 18:29:55 sterling Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -941,7 +941,7 @@
xmlDoc *docp = NULL, *olddoc;
dom_object *intern;
char *encoding, *version = NULL;
- int encoding_len, version_len;
+ int encoding_len = 0, version_len;
id = getThis();