From: Arran Cudbard-Bell Date: Sun, 19 May 2024 01:08:49 +0000 (-0600) Subject: Rename resume function in call... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02ae40eee3870b352d745f744ae687a8e633fb55;p=thirdparty%2Ffreeradius-server.git Rename resume function in call... --- diff --git a/src/lib/unlang/call.c b/src/lib/unlang/call.c index 83074ae6c80..1e4c03e19ef 100644 --- a/src/lib/unlang/call.c +++ b/src/lib/unlang/call.c @@ -28,10 +28,9 @@ RCSID("$Id$") #include #include "call_priv.h" -#include "module_priv.h" -static unlang_action_t unlang_call_finalize(UNUSED rlm_rcode_t *p_result, request_t *request, - unlang_stack_frame_t *frame) +static unlang_action_t unlang_call_resume(rlm_rcode_t *p_result, request_t *request, + unlang_stack_frame_t *frame) { unlang_group_t *g = unlang_generic_to_group(frame->instruction); unlang_call_t *gext = unlang_group_to_call(g); @@ -52,7 +51,7 @@ static unlang_action_t unlang_call_finalize(UNUSED rlm_rcode_t *p_result, reques static unlang_action_t unlang_call_children(rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame) { - frame_repeat(frame, unlang_call_finalize); + frame_repeat(frame, unlang_call_resume); /* * Push the contents of the call { } section onto the stack. @@ -127,10 +126,11 @@ static unlang_action_t unlang_call_frame_init(rlm_rcode_t *p_result, request_t * * * AGAIN packet->code NEEDS TO DIE. * DIE DIE DIE DIE DIE DIE DIE DIE DIE - * DIE DIE DIE DIE DIE DIE DIE DIE DIE. + * DIE DIE DIE DIE DIE DIE DIE DIE DIE + * DIE DIE DIE. */ if (!g->children) { - frame_repeat(frame, unlang_call_finalize); + frame_repeat(frame, unlang_call_resume); } else { frame_repeat(frame, unlang_call_children); }