From 8c4cacbd58fd6e79084996e715fc5fbecb869e8e Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Mon, 21 Jun 2004 14:20:03 +0000
Subject: [PATCH] Use ' instead of " for quoting in extensions.conf (bug #1872)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 pbx/pbx_config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index 990059b5c2..e82c497379 100755
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -113,8 +113,8 @@ static char *process_quotes_and_slashes(char *start, char find, char replace_wit
     		} 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);
-- 
GitLab