]> granicus.if.org Git - php/commitdiff
have this go through php's error warning system
authorSterling Hughes <sterling@php.net>
Sun, 9 Sep 2001 09:58:49 +0000 (09:58 +0000)
committerSterling Hughes <sterling@php.net>
Sun, 9 Sep 2001 09:58:49 +0000 (09:58 +0000)
ext/domxml/php_domxml.c

index 0e7a516081fec2d295d463764e32783e2e11deca..e1b10c39060fa38ac88953906b29fcfd078da8a2 100644 (file)
@@ -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;
        }