]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
return correct value
authorAlan T. DeKok <aland@freeradius.org>
Sun, 19 Nov 2023 22:14:47 +0000 (17:14 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 19 Nov 2023 22:14:47 +0000 (17:14 -0500)
src/modules/rlm_unix/rlm_unix.c

index 12a49cdbf6c6eaccaa8f1017d94b006735b7207d..9dc4dbbdb3b9159ea5b0b92e442deb0e7df9edc8 100644 (file)
@@ -462,12 +462,12 @@ static unlang_action_t CC_HINT(nonnull) mod_accounting(rlm_rcode_t *p_result, mo
 
                        delay = vp->vp_uint32;
 
-                       if (t < delay) return RLM_MODULE_FAIL;
+                       if (t < delay) RETURN_MODULE_FAIL;
 
                        t -= delay;
                }
        }
-       if (t > UINT32_MAX) return RLM_MODULE_FAIL;
+       if (t > UINT32_MAX) RETURN_MODULE_FAIL;
 
        /*
         *      We don't store !root sessions, or sessions