commit | be2e3562abd699b66ea2d33a222b8ebaa9400b20 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Oct 15 15:35:35 2019 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Oct 15 15:35:35 2019 +0200 |
tree | 283e61ea3be75b252c3f77661826215940ee368b | |
parent | ae9e4cb30197c47a1188e719e577bb4648d52acd [diff] |
xpath BUGFIX number of concat func params
diff --git a/src/xpath.c b/src/xpath.c index 968cb19..d1e7bfb 100644 --- a/src/xpath.c +++ b/src/xpath.c
@@ -2078,7 +2078,7 @@ case 6: if (!strncmp(&exp->expr[exp->tok_pos[*exp_idx]], "concat", 6)) { min_arg_count = 2; - max_arg_count = 3; + max_arg_count = INT_MAX; } else if (!strncmp(&exp->expr[exp->tok_pos[*exp_idx]], "number", 6)) { min_arg_count = 0; max_arg_count = 1;