From: hniksic Date: Sun, 26 Oct 2003 00:03:38 +0000 (-0700) Subject: [svn] Reset the QUOTE flag after the closing quote. X-Git-Tag: v1.13~1551 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=dd356aff3d7a298a4f95c62bf9e4393a5b19a6c0 [svn] Reset the QUOTE flag after the closing quote. --- diff --git a/src/ChangeLog b/src/ChangeLog index f7e0e94f..97eca1fa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-10-26 Hrvoje Niksic + + * netrc.c (parse_netrc): Reset the QUOTE flag after the closing + quote. + 2003-10-25 Hrvoje Niksic * url.c (is_valid_ipv6_address): Reformat to GNU coding style. diff --git a/src/netrc.c b/src/netrc.c index 91a1d80e..1a16b0a8 100644 --- a/src/netrc.c +++ b/src/netrc.c @@ -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)