]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Call tmpl_dcursor_build_init with correct args
authorNick Porter <nick@portercomputing.co.uk>
Mon, 22 Aug 2022 14:24:29 +0000 (15:24 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 22 Aug 2022 14:24:29 +0000 (15:24 +0100)
src/lib/server/tmpl_dcursor_tests.c

index c3c4a29dc59192896d656f886a53f1fe50de5201..50e85dc42a9b1d63c214658ca3dfd606d4c319a0 100644 (file)
@@ -135,7 +135,7 @@ do { \
 do { \
        char const *ref = _attr_str; \
        tmpl_afrom_attr_substr(autofree, NULL, &vpt, &FR_SBUFF_IN(ref, strlen(ref)), NULL, &(tmpl_rules_t){.attr = {.dict_def = test_dict}}); \
-       *(_out) = tmpl_dcursor_build_init(&err, autofree, &cc, &cursor, request, vpt); \
+       *(_out) = tmpl_dcursor_build_init(&err, autofree, &cc, &cursor, request, vpt, &tmpl_dcursor_pair_build, NULL); \
 } while (0)
 
 /*