1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

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

View File

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