1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

fixed HTMLparser.c

This commit is contained in:
William M. Brack
2001-10-05 15:41:19 +00:00
parent 20ee8c0310
commit 1633d187cd
2 changed files with 6 additions and 1 deletions

View File

@ -724,6 +724,7 @@ htmlAutoCloseOnClose(htmlParserCtxtPtr ctxt, const xmlChar *newtag) {
} else if (info->endTag == 3) {
#ifdef DEBUG
xmlGenericError(xmlGenericErrorContext,"End of tag %s: expecting %s\n", newtag, ctxt->name);
#endif
if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
ctxt->sax->error(ctxt->userData,
@ -4335,8 +4336,8 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) {
ctxt->token = 0;
ctxt->checkIndex = 0;
NEXT;
break;
}
break;
}
if (avail < 2)
goto done;