shane Sun Oct 5 12:37:51 2003 EDT Modified files: /php-src/ext/dom xpath.c Log: remove a debug printf Index: php-src/ext/dom/xpath.c diff -u php-src/ext/dom/xpath.c:1.6 php-src/ext/dom/xpath.c:1.7 --- php-src/ext/dom/xpath.c:1.6 Sun Oct 5 09:14:21 2003 +++ php-src/ext/dom/xpath.c Sun Oct 5 12:37:50 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: xpath.c,v 1.6 2003/10/05 13:14:21 rrichards Exp $ */ +/* $Id: xpath.c,v 1.7 2003/10/05 16:37:50 shane Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -121,7 +121,7 @@ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FAILURE) { RETURN_FALSE; } - fprintf(stderr,"register %s=%s\n",prefix, ns_uri); + if (xmlXPathRegisterNs(ctxp, prefix, ns_uri) != 0) { RETURN_FALSE }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php