aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_stack.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-29 19:30:57 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-29 19:30:57 +0000
commitbedbd29a7978e3e4ee10770649f2efdeb29346bd (patch)
tree6b9df3628acfee662b454a1f2cdf177aae159293 /apps/app_stack.c
parent7a3d9bbdd03f8234b851c8df1fac9f595053b4c2 (diff)
Merged revisions 16192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r16192 | tilghman | 2006-03-29 13:11:18 -0600 (Wed, 29 Mar 2006) | 2 lines Bug 6830 - Let GosubIf work with the same conditions as a GotoIf (change in API approved by Russell) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16193 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_stack.c')
-rw-r--r--apps/app_stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_stack.c b/apps/app_stack.c
index c32ed952a..ba6812142 100644
--- a/apps/app_stack.c
+++ b/apps/app_stack.c
@@ -140,7 +140,7 @@ static int gosubif_exec(struct ast_channel *chan, void *data)
label1 = strsep(&args, ":");
label2 = args;
- if (ast_true(condition)) {
+ if (pbx_checkcondition(condition)) {
if (label1) {
res = gosub_exec(chan, label1);
}