diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-21 14:20:03 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-21 14:20:03 +0000 |
commit | 16c275db414f48deab1f1b4af2e5189c361dcc73 (patch) | |
tree | 1653171432c3b5852b8c9456072f318bf0a7ba9b /pbx | |
parent | 92a78593cba7e92f65599ab7bcfdb6bf1370e830 (diff) |
Use ' instead of " for quoting in extensions.conf (bug #1872)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3257 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rwxr-xr-x | pbx/pbx_config.c | 4 |
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); |