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();
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php