[svn] Reset the QUOTE flag after the closing quote.

This commit is contained in:
hniksic 2003-10-25 17:03:38 -07:00
parent 550baa704d
commit dd356aff3d
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-10-26 Hrvoje Niksic <hniksic@xemacs.org>
* netrc.c (parse_netrc): Reset the QUOTE flag after the closing
quote.
2003-10-25 Hrvoje Niksic <hniksic@xemacs.org>
* url.c (is_valid_ipv6_address): Reformat to GNU coding style.

View File

@ -328,9 +328,13 @@ parse_netrc (const char *path)
p ++;
}
/* if field was quoted, squash the trailing quotation mark */
/* If field was quoted, squash the trailing quotation mark
and reset quote flag. */
if (quote)
shift_left(p);
{
shift_left (p);
quote = 0;
}
/* Null-terminate the token, if it isn't already. */
if (*p)