From 26b06874353941ea9eb5540b293b28a97d2b5cb0 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 15 Mar 2010 15:59:07 +0100 Subject: [PATCH] xmlCtxtResetLastError should reset ctxt->errNo just fix it ! --- error.c | 1 + 1 file changed, 1 insertion(+) diff --git a/error.c b/error.c index 814e4ea2..7508d41b 100644 --- a/error.c +++ b/error.c @@ -929,6 +929,7 @@ xmlCtxtResetLastError(void *ctx) if (ctxt == NULL) return; + ctxt->errNo = XML_ERR_OK; if (ctxt->lastError.code == XML_ERR_OK) return; xmlResetError(&ctxt->lastError);