[asterisk-commits] tilghman: trunk r251884 - /trunk/apps/app_exec.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Mar 11 15:07:11 CST 2010
Author: tilghman
Date: Thu Mar 11 15:07:07 2010
New Revision: 251884
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=251884
Log:
Because ExecIf needs to reprocess arguments, it's best if we don't remove quotes during parsing.
(closes issue #16905)
Reported by: ip-rob
Patches:
20100303__issue16905.diff.txt uploaded by tilghman (license 14)
Tested by: ip-rob
Modified:
trunk/apps/app_exec.c
Modified: trunk/apps/app_exec.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_exec.c?view=diff&rev=251884&r1=251883&r2=251884
==============================================================================
--- trunk/apps/app_exec.c (original)
+++ trunk/apps/app_exec.c Thu Mar 11 15:07:07 2010
@@ -235,13 +235,13 @@
} else {
/* Preferred syntax */
- AST_NONSTANDARD_APP_ARGS(expr, parse, '?');
+ AST_NONSTANDARD_RAW_ARGS(expr, parse, '?');
if (ast_strlen_zero(expr.remainder)) {
ast_log(LOG_ERROR, "Usage: ExecIf(<expr>?<appiftrue>(<args>)[:<appiffalse>(<args)])\n");
return -1;
}
- AST_NONSTANDARD_APP_ARGS(apps, expr.remainder, ':');
+ AST_NONSTANDARD_RAW_ARGS(apps, expr.remainder, ':');
if (apps.t && (truedata = strchr(apps.t, '('))) {
*truedata++ = '\0';
More information about the asterisk-commits
mailing list