]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
xlat: Fix inverted args
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 19 Feb 2023 23:26:49 +0000 (17:26 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 19 Feb 2023 23:26:49 +0000 (17:26 -0600)
src/lib/unlang/xlat_tokenize.c

index 19da8ed7859ce83f0944d445cc8e216d84f0614f..3cda3904284d2d3977b81468010bb221f5502678 100644 (file)
@@ -1515,7 +1515,7 @@ fr_slen_t xlat_tokenize_argv(TALLOC_CTX *ctx, xlat_exp_head_t **out, fr_sbuff_t
                 *      Alloc a new node to hold the child nodes
                 *      that make up the argument.
                 */
-               MEM(node = xlat_exp_alloc(head, XLAT_GROUP, 0, NULL));
+               MEM(node = xlat_exp_alloc(head, XLAT_GROUP, NULL, 0));
                node->quote = quote;
 
                switch (quote) {