From b5d77099fea9b0a7e6b6e8f96a08c63585010c83 Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Sun, 9 Sep 2001 09:58:49 +0000 Subject: [PATCH] have this go through php's error warning system --- ext/domxml/php_domxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 0e7a516081..e1b10c3906 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -787,7 +787,7 @@ static zval *php_domobject_new(xmlNodePtr obj, int *found TSRMLS_DC) } default: - fprintf(stderr, "Unsupported Node type: %d\n", obj->type); + php_error(E_WARNING, "Unsupported Node type: %d\n", obj->type); return NULL; } -- 2.50.1