[asterisk-commits] russell: trunk r80616 - /trunk/apps/app_while.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 23 16:34:11 CDT 2007
Author: russell
Date: Thu Aug 23 16:34:10 2007
New Revision: 80616
URL: http://svn.digium.com/view/asterisk?view=rev&rev=80616
Log:
Use the comma separator in app_while. reported by blitzrage on irc, patched by me
Modified:
trunk/apps/app_while.c
Modified: trunk/apps/app_while.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_while.c?view=diff&rev=80616&r1=80615&r2=80616
==============================================================================
--- trunk/apps/app_while.c (original)
+++ trunk/apps/app_while.c Thu Aug 23 16:34:10 2007
@@ -243,7 +243,7 @@
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 @@
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);
More information about the asterisk-commits
mailing list