[Asterisk-cvs] asterisk/pbx pbx_config.c,1.42,1.43

markster at lists.digium.com markster at lists.digium.com
Mon Jun 21 10:34:08 CDT 2004


Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv13000/pbx

Modified Files:
	pbx_config.c 
Log Message:
Use ' instead of " for quoting in extensions.conf (bug #1872)


Index: pbx_config.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_config.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- pbx_config.c	14 Jun 2004 22:15:21 -0000	1.42
+++ pbx_config.c	21 Jun 2004 14:20:03 -0000	1.43
@@ -113,8 +113,8 @@
     		} else {
 			if (*start == '\\') {
 				inEscape = 1;      /* Do not copy \ into the data */
-			} else if (*start == '\"') {
-				inQuotes = 1-inQuotes;   /* Do not copy " into the data */
+			} else if (*start == '\'') {
+				inQuotes = 1-inQuotes;   /* Do not copy ' into the data */
 			} else {
 				/* Replace , with |, unless in quotes */
 				*dataPut++ = inQuotes ? *start : ((*start==find) ? replace_with : *start);




More information about the svn-commits mailing list