Skip to content

Commit

Permalink
Check the current rcode not the frame rcode for the UNLANG_ACTION_YIE…
Browse files Browse the repository at this point in the history
…LD hack
  • Loading branch information
arr2036 committed Nov 21, 2017
1 parent 5fcc1cf commit bbe6c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/unlang_interpret.c
Expand Up @@ -2355,7 +2355,7 @@ static inline unlang_frame_action_t unlang_frame_eval(REQUEST *request, unlang_s
*/
case UNLANG_ACTION_CALCULATE_RESULT:
/* Temporary fixup - ops should return the correct code */
if (frame->result == RLM_MODULE_YIELD) goto yield;
if (*result == RLM_MODULE_YIELD) goto yield;

frame->repeat = false;

Expand Down

0 comments on commit bbe6c39

Please sign in to comment.