From 55b1ee298e926c594f45456e5afbc25c79e3889b Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 23 Jul 2007 19:51:41 +0000 Subject: Merge the dialplan_aesthetics branch. Most of this patch simply converts applications using old methods of parsing arguments to using the standard macros. However, the big change is that the really old way of specifying application and arguments separated by a comma will no longer work (e.g. NoOp,foo|bar). Instead, the way that has been recommended since long before 1.0 will become the only method available (e.g. NoOp(foo,bar). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76703 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_readfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_readfile.c') diff --git a/apps/app_readfile.c b/apps/app_readfile.c index e857f8318..c23037610 100644 --- a/apps/app_readfile.c +++ b/apps/app_readfile.c @@ -67,7 +67,7 @@ static int readfile_exec(struct ast_channel *chan, void *data) s = ast_strdupa(data); varname = strsep(&s, "="); - file = strsep(&s, "|"); + file = strsep(&s, ","); length = s; if (!varname || !file) { -- cgit v1.2.3