From: Arran Cudbard-Bell Date: Tue, 21 Nov 2017 12:21:13 +0000 (+0000) Subject: Set frame->result when yielding X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f7ceeb44c90809c668d68f07e749c85c52a9f8b;p=thirdparty%2Ffreeradius-server.git Set frame->result when yielding --- diff --git a/src/main/unlang_interpret.c b/src/main/unlang_interpret.c index 448914f5e6a..0e3ea77b9f0 100644 --- a/src/main/unlang_interpret.c +++ b/src/main/unlang_interpret.c @@ -2317,7 +2317,7 @@ static inline unlang_frame_action_t unlang_frame_eval(REQUEST *request, unlang_s */ case UNLANG_ACTION_YIELD: yield: - *result = RLM_MODULE_YIELD; /* Fixup rcode */ + *result = frame->result = RLM_MODULE_YIELD; /* Fixup rcode */ /* * Detach is magic. The parent "create" function