mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2025-03-05 09:38:48 +00:00
xmlCtxtResetLastError should reset ctxt->errNo
just fix it !
This commit is contained in:
parent
3c080d6d72
commit
26b0687435
1
error.c
1
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user