summaryrefslogtreecommitdiff
path: root/ext/libxml/libxml.c
diff options
context:
space:
mode:
authorChristian Stocker <chregu@php.net>2004-07-25 10:37:27 +0000
committerChristian Stocker <chregu@php.net>2004-07-25 10:37:27 +0000
commita497e9bf75511e4a50f4a0541eae02bd215533f5 (patch)
tree28bf1119d5124adc5e82ded09c08341c2bea403b /ext/libxml/libxml.c
parent6bd845e365a239479b3fc952da968d34bdaf2557 (diff)
downloadphp-git-a497e9bf75511e4a50f4a0541eae02bd215533f5.tar.gz
use php_error_docref for libxml2 errors
Diffstat (limited to 'ext/libxml/libxml.c')
-rw-r--r--ext/libxml/libxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
index 4e41adb10e..d1d4be6fe1 100644
--- a/ext/libxml/libxml.c
+++ b/ext/libxml/libxml.c
@@ -355,7 +355,7 @@ static void php_libxml_internal_error_handler(int error_type, void *ctx, const c
php_libxml_ctx_error_level(E_NOTICE, ctx, LIBXML(error_buffer).c TSRMLS_CC);
break;
default:
- php_error(E_WARNING, "%s", LIBXML(error_buffer).c);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", LIBXML(error_buffer).c);
}
smart_str_free(&LIBXML(error_buffer));
}