FS-3099 --resolve

This commit is contained in:
Anthony Minessale 2011-07-28 17:13:38 -05:00
parent 7b1097e356
commit f3a42258d6
1 changed files with 3 additions and 1 deletions

View File

@ -1869,7 +1869,9 @@ static char *cleanup_separated_string(char *str, char delim)
}
if (!esc) {
if (*ptr == '\'') {
inside_quotes = (1 - inside_quotes);
if ((inside_quotes = (1 - inside_quotes))) {
end = dest;
}
} else {
*dest++ = *ptr;
if (*ptr != ' ' || inside_quotes) {