From: Arran Cudbard-Bell Date: Fri, 17 May 2024 14:29:36 +0000 (-0600) Subject: ...and actually use the new enum X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db3ccda1ef546e81d04c977e921b2df7a7ccf48e;p=thirdparty%2Ffreeradius-server.git ...and actually use the new enum --- diff --git a/src/lib/unlang/compile.c b/src/lib/unlang/compile.c index e07bedc312..6b840a9be1 100644 --- a/src/lib/unlang/compile.c +++ b/src/lib/unlang/compile.c @@ -106,7 +106,7 @@ void compile_copy_context(unlang_compile_t *dst, unlang_compile_t const *src) * Ensure that none of the actions are RETRY. */ for (i = 0; i < RLM_MODULE_NUMCODES; i++) { - if (dst->actions.actions[i] == MOD_ACTION_RETRY) dst->actions.actions[i] = 0; + if (dst->actions.actions[i] == MOD_ACTION_RETRY) dst->actions.actions[i] = MOD_PRIORITY_MIN; } memset(&dst->actions.retry, 0, sizeof(dst->actions.retry)); \ }