mirror of
https://github.com/mirror/wget.git
synced 2025-01-08 19:30:41 +08:00
Hack to make -c work again without HEAD.
This commit is contained in:
parent
6ccee6df12
commit
7d33170f7f
@ -2344,6 +2344,11 @@ http_loop (struct url *u, char **newloc, char **local_file, const char *referer,
|
|||||||
hstat.local_file = xstrdup (opt.output_document);
|
hstat.local_file = xstrdup (opt.output_document);
|
||||||
got_name = true;
|
got_name = true;
|
||||||
}
|
}
|
||||||
|
else if (!opt.content_disposition)
|
||||||
|
{
|
||||||
|
hstat.local_file = url_file_name (u);
|
||||||
|
got_name = true;
|
||||||
|
}
|
||||||
|
|
||||||
/* Reset the counter. */
|
/* Reset the counter. */
|
||||||
count = 0;
|
count = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user