summaryrefslogtreecommitdiff
path: root/res/ael
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2008-11-20 19:41:23 +0000
committerSean Bright <sean@malleable.com>2008-11-20 19:41:23 +0000
commit574f2daa2a2c1458520c778004a8a3d19ac84fe2 (patch)
treec9aa79f1c839a2ca7d08fb7909d79fb9259bf2d8 /res/ael
parent3a9c27459eed77111a472154388c73c90b509153 (diff)
Fix one case where the application argument was not converted from a pipe to
a comma. This was causing problems with switch statements with empty expressions. (closes issue #13901) Reported by: smurfix Patches: 20081118_bug13901.diff uploaded by seanbright (license 71) Tested by: seanbright Reviewed by: murf git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/ael')
-rw-r--r--res/ael/pval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ael/pval.c b/res/ael/pval.c
index 43d91295b..e8e8dcd53 100644
--- a/res/ael/pval.c
+++ b/res/ael/pval.c
@@ -3862,7 +3862,7 @@ static void gen_prios(struct ael_extension *exten, char *label, pval *statement,
switch_null->context = this_context;
switch_null->is_switch = 1;
switch_empty = new_prio();
- snprintf(buf1,sizeof(buf1),"sw-%d-.|10",local_control_statement_count);
+ snprintf(buf1,sizeof(buf1),"sw-%d-.,10",local_control_statement_count);
switch_empty->app = strdup("Goto");
switch_empty->appargs = strdup(buf1);
linkprio(switch_null, switch_empty, mother_exten);