Skip to content

Commit

Permalink
reset when going to next, so that it is always done
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Oct 5, 2019
1 parent 339042e commit d60be87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/unlang/map.c
Expand Up @@ -194,8 +194,6 @@ static unlang_action_t list_mod_create(REQUEST *request, rlm_rcode_t *presult)
/* FALL-THROUGH */

case UNLANG_UPDATE_MAP_EXPANDED_RHS:
update_state->state = UNLANG_UPDATE_MAP_INIT;

/*
* Concat the top level results together
*/
Expand All @@ -213,6 +211,7 @@ static unlang_action_t list_mod_create(REQUEST *request, rlm_rcode_t *presult)
talloc_list_free(&update_state->rhs_result);

next:
update_state->state = UNLANG_UPDATE_MAP_INIT;
talloc_list_free(&update_state->lhs_result);

/*
Expand Down

0 comments on commit d60be87

Please sign in to comment.