xmlCtxtResetLastError should reset ctxt->errNo

just fix it !
This commit is contained in:
Daniel Veillard 2010-03-15 15:59:07 +01:00
parent 3c080d6d72
commit 26b0687435

@ -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);