diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-20 19:42:31 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-20 19:42:31 +0000 |
commit | ff8cad78a964d92e65f211bf32c02942fa3da4c6 (patch) | |
tree | 1b07026d3396cd171708dcb23ee9a2966e11d3f4 /res/ael | |
parent | 1e630496e3dee6da9013729b5f30d54a76c84264 (diff) |
Merged revisions 158188 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r158188 | seanbright | 2008-11-20 14:41:23 -0500 (Thu, 20 Nov 2008) | 10 lines
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@158190 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/ael')
-rw-r--r-- | res/ael/pval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ael/pval.c b/res/ael/pval.c index 274c8421f..1ee534cb9 100644 --- a/res/ael/pval.c +++ b/res/ael/pval.c @@ -3837,7 +3837,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); |