From: Arran Cudbard-Bell Date: Tue, 30 Jan 2018 23:41:21 +0000 (-0700) Subject: Pass right arguments to xlat async function X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f7fc123e6df375e7b334cb49a95b2dd6fca524c;p=thirdparty%2Ffreeradius-server.git Pass right arguments to xlat async function Needs the xlat instance, not the wrapper struct --- diff --git a/src/main/xlat_eval.c b/src/main/xlat_eval.c index bc57eb95605..afb687ca785 100644 --- a/src/main/xlat_eval.c +++ b/src/main/xlat_eval.c @@ -775,7 +775,7 @@ xlat_action_t xlat_frame_eval_repeat(TALLOC_CTX *ctx, fr_cursor_t *out, if (RDEBUG_ENABLED2) fr_value_box_list_acopy(NULL, &result_copy, *result); if (*result) (void) talloc_list_get_type_abort(*result, fr_value_box_t); - xa = node->xlat->func.async(ctx, out, request, node->inst, thread_inst->data, result); + xa = node->xlat->func.async(ctx, out, request, node->inst->data, thread_inst->data, result); if (*result) (void) talloc_list_get_type_abort(*result, fr_value_box_t); if (RDEBUG_ENABLED2) {