Skip to content
Snippets Groups Projects
Commit 94bef1a2 authored by Joshua Colp's avatar Joshua Colp
Browse files

Merged revisions 77768 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r77768 | file | 2007-07-30 11:51:44 -0300 (Mon, 30 Jul 2007) | 12 lines

Merged revisions 77767 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r77767 | file | 2007-07-30 11:50:02 -0300 (Mon, 30 Jul 2007) | 4 lines

(closes issue #10334)
Reported by: ramonpeek
Pass through the return value from macro_exec through the MacroIf application.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent b20ab775
No related branches found
No related tags found
No related merge requests found
...@@ -493,9 +493,9 @@ static int macroif_exec(struct ast_channel *chan, void *data) ...@@ -493,9 +493,9 @@ static int macroif_exec(struct ast_channel *chan, void *data)
label_b++; label_b++;
} }
if (pbx_checkcondition(expr)) if (pbx_checkcondition(expr))
macro_exec(chan, label_a); res = macro_exec(chan, label_a);
else if (label_b) else if (label_b)
macro_exec(chan, label_b); res = macro_exec(chan, label_b);
} else } else
ast_log(LOG_WARNING, "Invalid Syntax.\n"); ast_log(LOG_WARNING, "Invalid Syntax.\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment