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

[svn] when -c used, mark already fully retrieved file as successfully retrieved.

Submitted by Ian Abbott in <3C6019F4.30803.FF43E9@localhost>.
This commit is contained in:
hniksic 2002-02-18 21:18:43 -08:00
parent b9e90c34b4
commit a9ff5853a9
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-02-05 Ian Abbott <abbotti@mev.co.uk>
* http.c (gethttp): when -c used, mark already fully retrieved
file as successfully retrieved.
2002-02-19 Hrvoje Niksic <hniksic@arsdigita.com>
* url.c (url_parse): Don't treat '?' as query string separator

View File

@ -1224,6 +1224,8 @@ Accept: %s\r\n\
/* In case the caller inspects. */
hs->len = contlen;
hs->res = 0;
/* Mark as successfully retrieved. */
*dt |= RETROKF;
FREE_MAYBE (type);
FREE_MAYBE (all_headers);
CLOSE_INVALIDATE (sock); /* would be CLOSE_FINISH, but there