do not keep the quote information when set once

feature/tap-sh
Baptiste Daroussin 2012-08-14 11:06:04 +02:00
parent c6f6cb781d
commit 2d5dfe7d70
1 changed files with 3 additions and 1 deletions

View File

@ -74,8 +74,10 @@ pkg_fgetline(char *line, size_t size, FILE *stream)
} }
else else
{ {
if (quoted) if (quoted) {
*s++ = '\\'; *s++ = '\\';
quoted = false;
}
*s++ = c; *s++ = c;
} }