diff options
author | setser <setser@yandex-team.ru> | 2022-05-09 00:13:37 +0300 |
---|---|---|
committer | setser <setser@yandex-team.ru> | 2022-05-09 00:13:37 +0300 |
commit | e87e3fc8d0e04eb7ba3eee221bb91613b527ad85 (patch) | |
tree | 5279c128bdbdf902b9a08d9fae8e55b91910a553 /contrib/libs/libxml/c14n.c | |
parent | f4f3e4024a1f32bd0bc3fa20239025a1b179e42d (diff) | |
download | ydb-e87e3fc8d0e04eb7ba3eee221bb91613b527ad85.tar.gz |
Update libxml to 2.9.13
ref:f572491d236694e847142c36f0f5546c649e05d7
Diffstat (limited to 'contrib/libs/libxml/c14n.c')
-rw-r--r-- | contrib/libs/libxml/c14n.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/contrib/libs/libxml/c14n.c b/contrib/libs/libxml/c14n.c index 5b3fbe70c6..3efcd92eef 100644 --- a/contrib/libs/libxml/c14n.c +++ b/contrib/libs/libxml/c14n.c @@ -132,7 +132,7 @@ static xmlChar *xmlC11NNormalizeString(const xmlChar * input, /** * xmlC14NErrMemory: - * @extra: extra informations + * @extra: extra information * * Handle a redefinition of memory error */ @@ -147,7 +147,7 @@ xmlC14NErrMemory(const char *extra) /** * xmlC14NErrParam: - * @extra: extra informations + * @extra: extra information * * Handle a redefinition of param error */ @@ -162,7 +162,7 @@ xmlC14NErrParam(const char *extra) /** * xmlC14NErrInternal: - * @extra: extra informations + * @extra: extra information * * Handle a redefinition of internal error */ @@ -177,7 +177,7 @@ xmlC14NErrInternal(const char *extra) /** * xmlC14NErrInvalidNode: - * @extra: extra informations + * @extra: extra information * * Handle a redefinition of invalid node error */ @@ -192,7 +192,7 @@ xmlC14NErrInvalidNode(const char *node_type, const char *extra) /** * xmlC14NErrUnknownNode: - * @extra: extra informations + * @extra: extra information * * Handle a redefinition of unknown node error */ @@ -207,7 +207,7 @@ xmlC14NErrUnknownNode(int node_type, const char *extra) /** * xmlC14NErrRelativeNamespace: - * @extra: extra informations + * @extra: extra information * * Handle a redefinition of relative namespace error */ @@ -228,7 +228,7 @@ xmlC14NErrRelativeNamespace(const char *ns_uri) * @node: the context node * @error: the error code * @msg: the message - * @extra: extra informations + * @extra: extra information * * Handle a redefinition of attribute error */ @@ -2033,13 +2033,13 @@ xmlC14NDocDumpMemory(xmlDocPtr doc, xmlNodeSetPtr nodes, } ret = xmlBufUse(buf->buffer); - if (ret > 0) { + if (ret >= 0) { *doc_txt_ptr = xmlStrndup(xmlBufContent(buf->buffer), ret); } (void) xmlOutputBufferClose(buf); - if ((*doc_txt_ptr == NULL) && (ret > 0)) { - xmlC14NErrMemory("coping canonicalized document"); + if ((*doc_txt_ptr == NULL) && (ret >= 0)) { + xmlC14NErrMemory("copying canonicalized document"); return (-1); } return (ret); |