aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_while.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-23 21:34:10 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-23 21:34:10 +0000
commit60b1eb4ffaf0ed3df5659e7025fe7b141bae2bc7 (patch)
treedd3cff938dedcb43fa0c05274242dd9d2e0ab573 /apps/app_while.c
parenta666781bd173dfa3a6858a066f62da241e430428 (diff)
Use the comma separator in app_while. reported by blitzrage on irc, patched by me
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80616 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_while.c')
-rw-r--r--apps/app_while.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_while.c b/apps/app_while.c
index 12f5f63fe..43d976257 100644
--- a/apps/app_while.c
+++ b/apps/app_while.c
@@ -243,7 +243,7 @@ static int _while_exec(struct ast_channel *chan, void *data, int end)
size = strlen(chan->context) + strlen(chan->exten) + 32;
goto_str = alloca(size);
memset(goto_str, 0, size);
- snprintf(goto_str, size, "%s|%s|%d", chan->context, chan->exten, chan->priority);
+ snprintf(goto_str, size, "%s,%s,%d", chan->context, chan->exten, chan->priority);
pbx_builtin_setvar_helper(chan, varname, goto_str);
}
@@ -255,7 +255,7 @@ static int _while_exec(struct ast_channel *chan, void *data, int end)
size = strlen(chan->context) + strlen(chan->exten) + 32;
goto_str = alloca(size);
memset(goto_str, 0, size);
- snprintf(goto_str, size, "%s|%s|%d", chan->context, chan->exten, chan->priority+1);
+ snprintf(goto_str, size, "%s,%s,%d", chan->context, chan->exten, chan->priority+1);
pbx_builtin_setvar_helper(chan, end_varname, goto_str);
}
ast_parseable_goto(chan, while_pri);