Revert use of backslash as an escape for double quote in config strings

This commit is contained in:
Asanka C. Herath
2010-12-02 23:24:46 -05:00
parent dd6d5a0e2c
commit e0e746b1ca
3 changed files with 7 additions and 12 deletions

View File

@@ -877,12 +877,7 @@ next_component_string(char * begin, char * delims, char **state)
end = begin;
while (*end == '"') {
char * t;
while ((t = strchr(end + 1, '"')) != NULL && *(t - 1) == '\\') {
--t;
memmove(t, t + 1, strlen(t));
end = t;
}
char * t = strchr(end + 1, '"');
if (t)
end = ++t;