commit | f69e455854fd757d5e3bd5837483f2e78874e118 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Dec 02 10:27:42 2022 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Dec 02 10:27:42 2022 +0100 |
tree | cec8eb37a19a072a91e07eea2f27366399d3a76f | |
parent | c64bd9a48f74ca0b667c08bde8f5fea61022425a [diff] |
xpath BUGFIX do not remove previous log nodes
diff --git a/src/xpath.c b/src/xpath.c index 60862ce..66a9dbf 100644 --- a/src/xpath.c +++ b/src/xpath.c
@@ -9869,7 +9869,7 @@ /* evaluate */ ret = eval_expr_select(exp, &tok_idx, 0, set, options); - LOG_LOCBACK(1, 0, 0, 0); + LOG_LOCBACK(set->cur_scnode ? 1 : 0, 0, 0, 0); return ret; }