[asterisk-commits] russell: trunk r39706 - /trunk/app.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Aug 13 21:25:13 MST 2006
Author: russell
Date: Sun Aug 13 23:25:13 2006
New Revision: 39706
URL: http://svn.digium.com/view/asterisk?rev=39706&view=rev
Log:
don't try to ignore the contents of a quoted string in ast_separate_app_args()
if the delimeter is actually the quotation mark (fixes issue #7622)
Modified:
trunk/app.c
Modified: trunk/app.c
URL: http://svn.digium.com/view/asterisk/trunk/app.c?rev=39706&r1=39705&r2=39706&view=diff
==============================================================================
--- trunk/app.c (original)
+++ trunk/app.c Sun Aug 13 23:25:13 2006
@@ -884,7 +884,7 @@
else if (*scan == ')') {
if (paren)
paren--;
- } else if (*scan == '"') {
+ } else if (*scan == '"' && delim != '"') {
quote = quote ? 0 : 1;
/* Remove quote character from argument */
memmove(scan, scan + 1, strlen(scan));
More information about the asterisk-commits
mailing list