summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-09-23 02:53:53 +0000
committerRussell Bryant <russell@russellbryant.com>2005-09-23 02:53:53 +0000
commitafb00fce12ca90ab8af372b5f867d428be3e4386 (patch)
tree1b00f5739220327de1d15c08324fee7baef26f15 /pbx
parent21eb11c40ebfd1692baa73ca3968c0165fb03368 (diff)
Use Goto instead of GotoIf when jumping over the else block (issue #4660)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx')
-rwxr-xr-xpbx/pbx_ael.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index 0369007b7..c33e169cb 100755
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -660,7 +660,7 @@ static int __build_step(const char *what, const char *name, const char *filename
if (ifskip) {
/* Skip as appropriate around else clause */
snprintf(margs, mlen, "%d", ifend);
- if (ast_add_extension2(con, 0, exten, ifskip, NULL, NULL, app, strdup(margs), FREE, registrar))
+ if (ast_add_extension2(con, 0, exten, ifskip, NULL, NULL, "Goto", strdup(margs), FREE, registrar))
ast_log(LOG_WARNING, "Unable to add step at priority '%d' of %s '%s'\n", *pos, what, name);
}
} else