]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
No need to set frame->process again here...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 7 Jun 2021 00:40:20 +0000 (19:40 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 10 Jun 2021 22:58:28 +0000 (17:58 -0500)
src/lib/unlang/module.c

index a4f78649635b9677efce4e0b2eb481e933529990..3d9a54df1b8d38853f413e41babd20523f52ca63 100644 (file)
@@ -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;