X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=pbx%2Fpbx_config.c;h=e82c497379016d740f68a9056b3952a12aea90a0;hp=990059b5c2ed9eaf04cd6336b7b4705824519b83;hb=8c4cacbd58fd6e79084996e715fc5fbecb869e8e;hpb=502e74e5dbe3be4082aef2ff0bbd4148582124d1;ds=inline diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index 990059b..e82c497 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);