Fix error reporting in external entity test handler

This commit is contained in:
Rhodri James 2017-03-02 19:58:54 +00:00 committed by Sebastian Pipping
parent 9de593495c
commit e5d84961bb

View File

@ -1180,7 +1180,7 @@ external_entity_loader(XML_Parser parser,
strlen(test_data->parse_text),
XML_TRUE)
== XML_STATUS_ERROR) {
xml_failure(parser);
xml_failure(extparser);
return XML_STATUS_ERROR;
}
XML_ParserFree(extparser);