commit | 5243a8ad897c431e80ff6b13941a6096817925ff | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon May 21 10:43:42 2018 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon May 21 10:43:42 2018 +0200 |
tree | 9e7123f73da4d9c7137345fc07f3daf6740dc212 | |
parent | f64ec5e18fc5ddf4eb59078934b9c94eec8f17aa [diff] |
xpath BUGFIX typo
diff --git a/src/xpath.c b/src/xpath.c index 678547a..657925f 100644 --- a/src/xpath.c +++ b/src/xpath.c
@@ -5259,7 +5259,7 @@ set->val.nodes[i].pos = pos; *replaced = 1; #ifdef LY_ENABLED_CACHE - set_remove_node_hash(set, set->val.nodes[i].node, set->val.nodes[i].type); + set_insert_node_hash(set, set->val.nodes[i].node, set->val.nodes[i].type); #endif } else { set_insert_node(set, node, pos, LYXP_NODE_ELEM, i);