- Fixed compilation on the 'broken' IRIX native compiler.

This commit is contained in:
Derick Rethans 2004-03-16 21:39:43 +00:00
parent f59ac64430
commit f66c62cef8

View File

@ -1279,7 +1279,7 @@ SXE_METHOD(__construct)
php_std_error_handling();
docp = xmlParseMemory(data, data_len);
if (!docp) {
(php_libxml_node_object *)sxe->document = NULL;
((php_libxml_node_object *)sxe)->document = NULL;
zend_throw_exception(zend_exception_get_default(), "String could not be parsed as XML", 0 TSRMLS_CC);
return;
}