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:
parent
550baa704d
commit
dd356aff3d
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user