mirror of
https://github.com/mirror/wget.git
synced 2025-01-27 12:50:13 +08:00
Return a network failure when FTP downloads fail and --timestamping is used.
This commit is contained in:
parent
19ef7249b8
commit
bbe6b86c9e
6
NEWS
6
NEWS
@ -5,13 +5,17 @@ Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
|
||||
See the end for copying conditions.
|
||||
|
||||
Please send GNU Wget bug reports to <bug-wget@gnu.org>.
|
||||
|
||||
* Changes in Wget X.Y.Z
|
||||
|
||||
** Now --version and --help work again.
|
||||
|
||||
** Fix a build error on solaris 10 sparc.
|
||||
|
||||
** If --timestamping and --continue can be used at the same time.
|
||||
** Now --timestamping and --continue work well together.
|
||||
|
||||
** Return a network failure when FTP downloads fail and --timestamping
|
||||
is specified.
|
||||
|
||||
|
||||
* Changes in Wget 1.13.3
|
||||
|
@ -1,3 +1,8 @@
|
||||
2011-09-13 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* ftp.c (ftp_retrieve_glob): Propagate correctly the `res' error
|
||||
code.
|
||||
|
||||
2011-09-07 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* http.c (gethttp): Don't inhibit arest request if opt.timestamping is
|
||||
|
@ -2125,7 +2125,7 @@ ftp_retrieve_glob (struct url *u, ccon *con, int action)
|
||||
if (start)
|
||||
{
|
||||
/* Just get everything. */
|
||||
ftp_retrieve_list (u, start, con);
|
||||
res = ftp_retrieve_list (u, start, con);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -2154,8 +2154,7 @@ ftp_retrieve_glob (struct url *u, ccon *con, int action)
|
||||
if (opt.quota && total_downloaded_bytes > opt.quota)
|
||||
return QUOTEXC;
|
||||
else
|
||||
/* #### Should we return `res' here? */
|
||||
return RETROK;
|
||||
return res;
|
||||
}
|
||||
|
||||
/* The wrapper that calls an appropriate routine according to contents
|
||||
|
Loading…
Reference in New Issue
Block a user