Welcome! Log In Create A New Profile

Advanced

[njs] XML: improved XMLNode.$tags handler.

Anonymous User
November 07, 2024 02:06PM
details: https://github.com/nginx/njs/commit/e476ef9134a58d8967a740d182ea15c075492704
branches: master
commit: e476ef9134a58d8967a740d182ea15c075492704
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Wed, 6 Nov 2024 22:15:22 -0800
description:
XML: improved XMLNode.$tags handler.


---
external/njs_xml_module.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/external/njs_xml_module.c b/external/njs_xml_module.c
index d9f3bbb5..d5ab9ddd 100644
--- a/external/njs_xml_module.c
+++ b/external/njs_xml_module.c
@@ -1318,12 +1318,12 @@ njs_xml_node_tags_handler(njs_vm_t *vm, xmlNode *current, njs_str_t *name,
xmlFreeNode(node);
goto error;
}
+ }

- ret = xmlReconciliateNs(current->doc, copy);
- if (njs_slow_path(ret == -1)) {
- njs_vm_internal_error(vm, "xmlReconciliateNs() failed");
- goto error;
- }
+ ret = xmlReconciliateNs(current->doc, copy);
+ if (njs_slow_path(ret == -1)) {
+ njs_vm_internal_error(vm, "xmlReconciliateNs() failed");
+ goto error;
}

njs_value_undefined_set(retval);
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] XML: improved XMLNode.$tags handler.

Anonymous User 195 November 07, 2024 02:06PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 198
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready