* src/http.c (http_loop): Fix --retry-on-host-error

This commit is contained in:
Tim Rühsen 2018-06-13 20:16:22 +02:00
parent e7979da9e8
commit 4fc69950da

View File

@ -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 )