12 lines
328 B
Diff
12 lines
328 B
Diff
--- wget-1.10.2/src/ftp.c.186195 2006-12-08 12:15:20.000000000 +0100
|
|
+++ wget-1.10.2/src/ftp.c 2006-12-08 12:17:02.000000000 +0100
|
|
@@ -1172,7 +1172,7 @@
|
|
len = 0;
|
|
err = getftp (u, &len, restval, con);
|
|
|
|
- if (con->csock != -1)
|
|
+ if (con->csock == -1)
|
|
con->st &= ~DONE_CWD;
|
|
else
|
|
con->st |= DONE_CWD;
|