From 1633d187cd260428d286144745ef193e4cbf8fee Mon Sep 17 00:00:00 2001 From: "William M. Brack" Date: Fri, 5 Oct 2001 15:41:19 +0000 Subject: [PATCH] fixed HTMLparser.c --- ChangeLog | 4 ++++ HTMLparser.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6d30206c..87b14b2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Oct 5 23:35:00 HKT 2001 William Brack + + * HTMLparser: repaired another loop problem + Fri Oct 5 11:16:21 CEST 2001 Daniel Veillard * uri.c: applied fix from Mathias Hasselmann about a bug in URI diff --git a/HTMLparser.c b/HTMLparser.c index fe4c357e..8391dbd8 100644 --- a/HTMLparser.c +++ b/HTMLparser.c @@ -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;