[asterisk-commits] tilghman: branch 1.6.0 r251885 - in /branches/1.6.0: ./ apps/app_exec.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 11 15:08:18 CST 2010


Author: tilghman
Date: Thu Mar 11 15:08:14 2010
New Revision: 251885

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=251885
Log:
Merged revisions 251884 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r251884 | tilghman | 2010-03-11 15:07:07 -0600 (Thu, 11 Mar 2010) | 8 lines
  
  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:
    branches/1.6.0/   (props changed)
    branches/1.6.0/apps/app_exec.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/apps/app_exec.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/apps/app_exec.c?view=diff&rev=251885&r1=251884&r2=251885
==============================================================================
--- branches/1.6.0/apps/app_exec.c (original)
+++ branches/1.6.0/apps/app_exec.c Thu Mar 11 15:08:14 2010
@@ -182,13 +182,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