cvs: php4 /ext/domxml php_domxml.c
| From: | Joey Smith | Date: | Tue, 14 Aug 2001 00:10:39 +0000 |
| Subject: | cvs: php4 /ext/domxml php_domxml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6807@lists.php.net to get a copy of this message | ||
joey Mon Aug 13 20:10:39 2001 EDT
Modified files:
/php4/ext/domxml php_domxml.c
Log:
Remove unused variable and fix small mental error.
Index: php4/ext/domxml/php_domxml.c
diff -u php4/ext/domxml/php_domxml.c:1.59 php4/ext/domxml/php_domxml.c:1.60
--- php4/ext/domxml/php_domxml.c:1.59 Mon Aug 13 14:47:51 2001
+++ php4/ext/domxml/php_domxml.c Mon Aug 13 20:10:39 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.c,v 1.59 2001/08/13 18:47:51 andi Exp $ */
+/* $Id: php_domxml.c,v 1.60 2001/08/14 00:10:39 joey Exp $ */
#ifdef HAVE_CONFIG_H
@@ -448,7 +448,6 @@
static zval *php_xpathobject_new(xmlXPathObjectPtr obj, int *found TSRMLS_DC)
{
zval *wrapper;
- int rsrc_type;
*found = 0;
if (!obj) {
@@ -2198,7 +2197,7 @@
convert_to_string(content);
if(Z_STRLEN_P(content))
- xmlTextConcat(nodep, Z_STRVAL_P(content), Z_STRVAL_P(content));
+ xmlTextConcat(nodep, Z_STRVAL_P(content), Z_STRLEN_P(content));
RETURN_TRUE;
}