]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Consistent case
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 7 Sep 2019 05:28:20 +0000 (00:28 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 7 Sep 2019 05:28:20 +0000 (00:28 -0500)
src/lib/unlang/foreach.c
src/lib/unlang/interpret.c
src/lib/unlang/return.c
src/lib/unlang/unlang_priv.h

index c2ca43a0d241cc8df3d3e5c9870a7e7f8ef3bc0f..3e6fcad7e5027088a8d851df61ac4f819e32634c 100644 (file)
@@ -192,7 +192,7 @@ static unlang_action_t unlang_break(REQUEST *request, rlm_rcode_t *presult, int
         *      Stop at the next break point, or if we hit
         *      the a top frame.
         */
-       UNWIND_TO_BREAK(stack);
+       unwind_to_break(stack);
        return UNLANG_ACTION_UNWIND;
 }
 
index f0808d52f0a97d1527312f5db082f4fe74b10e22..4f7c5bf9a74674769f110e5e80b70fedf206c940 100644 (file)
@@ -484,7 +484,7 @@ static inline unlang_frame_action_t frame_eval(REQUEST *request, unlang_stack_fr
                do_stop:
                        frame->result = RLM_MODULE_FAIL;
                        frame->priority = 9999;
-                       UNWIND_ALL(stack);
+                       unwind_all(stack);
                        break;
                }
 
index 4f0feea6c3727ea0d357c4669bcaefeda4bf060a..c48d7b785349cf7bfde47c9571b416ca2960c179 100644 (file)
@@ -42,7 +42,7 @@ unlang_action_t unlang_return(REQUEST *request, rlm_rcode_t *presult, int *prior
         *      Stop at the next return point, or if we hit
         *      the a top frame.
         */
-       UNWIND_TO_RETURN(stack);
+       unwind_to_return(stack);
        return UNLANG_ACTION_UNWIND;
 }
 
index 4c6229c2faa88fc4f4e98b0481cf924f64457499..9be7b79b4f0b6eb8e80a62a73cce277066f992d1 100644 (file)
@@ -260,9 +260,9 @@ typedef struct {
 #define is_break_point(_frame)         ((_frame)->uflags & UNWIND_FLAG_BREAK_POINT)
 #define is_return_point(_frame)        ((_frame)->uflags & UNWIND_FLAG_RETURN_POINT)
 
-#define UNWIND_TO_BREAK(_stack)                ((_stack)->unwind = (UNWIND_FLAG_BREAK_POINT | UNWIND_FLAG_TOP_FRAME))
-#define UNWIND_TO_RETURN(_stack)       ((_stack)->unwind = (UNWIND_FLAG_RETURN_POINT | UNWIND_FLAG_TOP_FRAME))
-#define UNWIND_ALL(_stack)             ((_stack)->unwind = (UNWIND_FLAG_TOP_FRAME | UNWIND_FLAG_NO_CLEAR))
+#define unwind_to_break(_stack)                ((_stack)->unwind = (UNWIND_FLAG_BREAK_POINT | UNWIND_FLAG_TOP_FRAME))
+#define unwind_to_return(_stack)       ((_stack)->unwind = (UNWIND_FLAG_RETURN_POINT | UNWIND_FLAG_TOP_FRAME))
+#define unwind_all(_stack)             ((_stack)->unwind = (UNWIND_FLAG_TOP_FRAME | UNWIND_FLAG_NO_CLEAR))
 
 /** Our interpreter stack, as distinct from the C stack
  *