path: root/pbx
diff options
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-23 02:53:53 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-23 02:53:53 +0000
commit5f24c0842291b71f9054242a654a6f4acf3172ab (patch)
tree1b00f5739220327de1d15c08324fee7baef26f15 /pbx
parent795fe950587a0842f453c4d3a828d348596ba048 (diff)
Use Goto instead of GotoIf when jumping over the else block (issue #4660)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6629 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
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