mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Would incorrectly skip changing working directory when retrying after a
failed FTP attempt.
This commit is contained in:
parent
645d028ddb
commit
ff82bd9276
@ -1,3 +1,9 @@
|
|||||||
|
2006-10-17 Mike Grant <mggr@pml.ac.uk>
|
||||||
|
|
||||||
|
* ftp.c (ftp_loop_internal): Would incorrectly skip changing
|
||||||
|
working directory when retrying after a failed FTP attempt.
|
||||||
|
Originally reported by Nate Eldredge.
|
||||||
|
|
||||||
2006-10-12 Mauro Tortonesi <mauro@ferrara.linux.it>
|
2006-10-12 Mauro Tortonesi <mauro@ferrara.linux.it>
|
||||||
|
|
||||||
* convert.c (downloaded_file): Fixed bug which used to break -E -k -K
|
* convert.c (downloaded_file): Fixed bug which used to break -E -k -K
|
||||||
|
@ -1173,7 +1173,7 @@ ftp_loop_internal (struct url *u, struct fileinfo *f, ccon *con)
|
|||||||
len = 0;
|
len = 0;
|
||||||
err = getftp (u, &len, restval, con);
|
err = getftp (u, &len, restval, con);
|
||||||
|
|
||||||
if (con->csock != -1)
|
if (con->csock == -1)
|
||||||
con->st &= ~DONE_CWD;
|
con->st &= ~DONE_CWD;
|
||||||
else
|
else
|
||||||
con->st |= DONE_CWD;
|
con->st |= DONE_CWD;
|
||||||
|
Loading…
Reference in New Issue
Block a user