diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-30 14:50:02 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-30 14:50:02 +0000 |
commit | 68a0e62615f25610fe0ccb2f5a6f97e526928c81 (patch) | |
tree | ffe639693e80a389099b95395dffd8536a8cee85 /apps | |
parent | da0aa2828f8a6b1fcdee0a5f7c2f48362dace3ce (diff) |
(closes issue #10334)
Reported by: ramonpeek
Pass through the return value from macro_exec through the MacroIf application.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@77767 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_macro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_macro.c b/apps/app_macro.c index 4002a8b00..557155c71 100644 --- a/apps/app_macro.c +++ b/apps/app_macro.c @@ -482,9 +482,9 @@ static int macroif_exec(struct ast_channel *chan, void *data) label_b++; } if (pbx_checkcondition(expr)) - macro_exec(chan, label_a); + res = macro_exec(chan, label_a); else if (label_b) - macro_exec(chan, label_b); + res = macro_exec(chan, label_b); } else ast_log(LOG_WARNING, "Invalid Syntax.\n"); |