diff options
Diffstat (limited to 'src/common/xml.c')
-rw-r--r-- | src/common/xml.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/xml.c b/src/common/xml.c index 1129d9c..5612247 100644 --- a/src/common/xml.c +++ b/src/common/xml.c @@ -713,7 +713,9 @@ xmlNodePtr add_node_to_xpath(xmlDocPtr xdoc, xmlXPathContextPtr context, const c parent = get_node_from_xpath(context, path); if (parent == NULL) return NULL; - return add_node_to_node(xdoc, parent, name); + result = add_node_to_node(xdoc, parent, name); + + return result; } |