]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add missing argument
authorAlan T. DeKok <aland@freeradius.org>
Fri, 1 May 2020 20:11:36 +0000 (16:11 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 1 May 2020 20:11:36 +0000 (16:11 -0400)
src/modules/rlm_exec/rlm_exec.c

index 310a08e92cca7b34df2f90048e6a168f6d916047..9e8865643d9765b346d89b8e2fa37c86111abe97 100644 (file)
@@ -364,6 +364,9 @@ static rlm_rcode_t CC_HINT(nonnull) mod_exec_dispatch(void *instance, UNUSED voi
                return RLM_MODULE_FAIL;
        }
 
+       /*
+        *      Do the asynchronous xlat expansion.
+        */
        if (!inst->wait) {
                fr_value_box_t *box;
 
@@ -451,7 +454,7 @@ static rlm_rcode_t CC_HINT(nonnull) mod_exec_async(void *instance, UNUSED void *
 
        box = talloc_zero(request, fr_value_box_t *);
 
-       return unlang_module_yield_to_tmpl(box, box, request, inst->tmpl, exec_resume, NULL, box);
+       return unlang_module_yield_to_tmpl(box, box, request, inst->tmpl, NULL, exec_resume, NULL, box);
 }
 
 /*