1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[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> 2003-10-25 Hrvoje Niksic <hniksic@xemacs.org>
* url.c (is_valid_ipv6_address): Reformat to GNU coding style. * url.c (is_valid_ipv6_address): Reformat to GNU coding style.

View File

@ -328,9 +328,13 @@ parse_netrc (const char *path)
p ++; 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) if (quote)
shift_left(p); {
shift_left (p);
quote = 0;
}
/* Null-terminate the token, if it isn't already. */ /* Null-terminate the token, if it isn't already. */
if (*p) if (*p)