summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-06-21 14:20:03 +0000
committerMark Spencer <markster@digium.com>2004-06-21 14:20:03 +0000
commit8c4cacbd58fd6e79084996e715fc5fbecb869e8e (patch)
tree1653171432c3b5852b8c9456072f318bf0a7ba9b /pbx
parent502e74e5dbe3be4082aef2ff0bbd4148582124d1 (diff)
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
Diffstat (limited to 'pbx')
-rwxr-xr-xpbx/pbx_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index 990059b5c..e82c49737 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);