cvs: php4 /ext/domxml php_domxml.c
| From: | Christian Stocker | Date: | Sat, 18 May 2002 10:05:26 +0000 |
| Subject: | cvs: php4 /ext/domxml php_domxml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11981@lists.php.net to get a copy of this message | ||
chregu Sat May 18 06:05:26 2002 EDT
Modified files:
/php4/ext/domxml php_domxml.c
Log:
WS fixes
Index: php4/ext/domxml/php_domxml.c
diff -u php4/ext/domxml/php_domxml.c:1.152 php4/ext/domxml/php_domxml.c:1.153
--- php4/ext/domxml/php_domxml.c:1.152 Sat May 18 05:35:28 2002
+++ php4/ext/domxml/php_domxml.c Sat May 18 06:05:21 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.c,v 1.152 2002/05/18 09:35:28 chregu Exp $ */
+/* $Id: php_domxml.c,v 1.153 2002/05/18 10:05:21 chregu Exp $ */
/* TODO
* - Support Notation Nodes
@@ -505,13 +505,13 @@
return;
wrapper = dom_object_get_data(node);
-
+
if (wrapper != NULL) {
refcount = wrapper->refcount;
zval_ptr_dtor(&wrapper);
- /*only set it to null, if refcount was 1 before, otherwise it has still needed references
*/
+ /*only set it to null, if refcount was 1 before, otherwise it has still needed references */
if (refcount == 1) {
- dom_object_set_data(node, NULL);
+ dom_object_set_data(node, NULL);
}
}