From: Arran Cudbard-Bell Date: Mon, 7 Jun 2021 00:40:20 +0000 (-0500) Subject: No need to set frame->process again here... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e5cda8fbb4f06bb0b2b76f44951cf70411e8d99;p=thirdparty%2Ffreeradius-server.git No need to set frame->process again here... --- diff --git a/src/lib/unlang/module.c b/src/lib/unlang/module.c index a4f78649635..3d9a54df1b8 100644 --- a/src/lib/unlang/module.c +++ b/src/lib/unlang/module.c @@ -740,11 +740,7 @@ static unlang_action_t unlang_module_resume(rlm_rcode_t *p_result, request_t *re * and when the I/O operation completes * it shouldn't be called again. */ - if (!state->resume) { - frame->process = unlang_module_resume_done; - } else { - frame->process = unlang_module_resume; - } + if (!state->resume) frame->process = unlang_module_resume_done; repeatable_set(frame); return UNLANG_ACTION_YIELD;