mirror of
https://github.com/mirror/wget.git
synced 2025-03-05 07:10:17 +08:00
* src/http.c (http_loop): Fix --retry-on-host-error
This commit is contained in:
parent
e7979da9e8
commit
4fc69950da
@ -4386,6 +4386,8 @@ http_loop (const struct url *u, struct url *original_url, char **newloc,
|
|||||||
logputs (LOG_VERBOSE, "\n");
|
logputs (LOG_VERBOSE, "\n");
|
||||||
logprintf (LOG_NOTQUIET, _("Cannot write to %s (%s).\n"),
|
logprintf (LOG_NOTQUIET, _("Cannot write to %s (%s).\n"),
|
||||||
quote (hstat.local_file), strerror (errno));
|
quote (hstat.local_file), strerror (errno));
|
||||||
|
ret = err;
|
||||||
|
goto exit;
|
||||||
case HOSTERR:
|
case HOSTERR:
|
||||||
/* Fatal unless option set otherwise. */
|
/* Fatal unless option set otherwise. */
|
||||||
if ( opt.retry_on_host_error )
|
if ( opt.retry_on_host_error )
|
||||||
|
Loading…
Reference in New Issue
Block a user