cvs: php-src(PHP_5_2) /ext/dom php_dom.c

From: Date: Tue, 03 Apr 2007 11:57:04 +0000
Subject: cvs: php-src(PHP_5_2) /ext/dom php_dom.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-43699@lists.php.net to get a copy of this message
rrichards Tue Apr 3 11:57:04 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/dom php_dom.c Log: allow registered classes to be changed http://cvs.php.net/viewvc.cgi/php-src/ext/dom/php_dom.c?r1=1.73.2.12.2.9&r2=1.73.2.12.2.10&diff_format=u Index: php-src/ext/dom/php_dom.c diff -u php-src/ext/dom/php_dom.c:1.73.2.12.2.9 php-src/ext/dom/php_dom.c:1.73.2.12.2.10 --- php-src/ext/dom/php_dom.c:1.73.2.12.2.9 Mon Jan 1 09:36:00 2007 +++ php-src/ext/dom/php_dom.c Tue Apr 3 11:57:04 2007 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_dom.c,v 1.73.2.12.2.9 2007/01/01 09:36:00 sebastian Exp $ */ +/* $Id: php_dom.c,v 1.73.2.12.2.10 2007/04/03 11:57:04 rrichards Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -184,7 +184,7 @@ zend_hash_init(doc_props->classmap, 0, NULL, NULL, 0); } if (ce) { - return zend_hash_add(doc_props->classmap, basece->name, basece->name_length + 1, &ce, sizeof(ce), NULL); + return zend_hash_update(doc_props->classmap, basece->name, basece->name_length + 1, &ce, sizeof(ce), NULL); } else { return zend_hash_del(doc_props->classmap, basece->name, basece->name_length + 1); }

« previous php.cvs (#43699) next »