]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Sat, 14 Sep 2024 21:11:44 +0000 (17:11 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 14 Sep 2024 21:11:44 +0000 (17:11 -0400)
src/lib/unlang/foreach.c

index 4ae6621d1324fed5e25942036a5512c1ec0f0573..ad79510a4757e3b3adc59ea32ee22970449154ac 100644 (file)
@@ -337,7 +337,7 @@ static unlang_action_t unlang_foreach_xlat_init(rlm_rcode_t *p_result, request_t
 
 static void unlang_foreach_attr_key_update(UNUSED request_t *request, unlang_frame_state_foreach_t *state)
 {
-       if (state->key) return;
+       if (!state->key) return;
 
        fr_value_box_clear_value(&state->key->data);
        if (tmpl_dcursor_print(&FR_SBUFF_IN(state->buffer, BUFFER_SIZE), &state->cc) > 0) {