From: Nick Porter Date: Mon, 22 Aug 2022 14:24:29 +0000 (+0100) Subject: Call tmpl_dcursor_build_init with correct args X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ba4cb4aa2db500f4a617c86d89cfd5529891fd8;p=thirdparty%2Ffreeradius-server.git Call tmpl_dcursor_build_init with correct args --- diff --git a/src/lib/server/tmpl_dcursor_tests.c b/src/lib/server/tmpl_dcursor_tests.c index c3c4a29dc59..50e85dc42a9 100644 --- a/src/lib/server/tmpl_dcursor_tests.c +++ b/src/lib/server/tmpl_dcursor_tests.c @@ -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) /*