|
|
@ -280,8 +280,7 @@ static void unescape(char *value) {
|
|
|
|
char *readhead = value;
|
|
|
|
char *readhead = value;
|
|
|
|
char *writehead = copy;
|
|
|
|
char *writehead = copy;
|
|
|
|
while (*readhead) {
|
|
|
|
while (*readhead) {
|
|
|
|
if (*readhead == '\\' &&
|
|
|
|
if (*readhead == '\\' && *(readhead + 1) == '"') {
|
|
|
|
(*(readhead + 1) == '"' || *(readhead + 1) == '\\')) {
|
|
|
|
|
|
|
|
// skip the slash
|
|
|
|
// skip the slash
|
|
|
|
++readhead;
|
|
|
|
++readhead;
|
|
|
|
}
|
|
|
|
}
|
|
|
|