X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fftp.c;h=8ce71fd66b89bdf340d882ce118afc4abbba6d68;hp=46677d6b5be5382ce28c67b00d74eee1a4f97aa5;hb=7b5ad90acfc8c101a6cf919cd2a00217f0194e93;hpb=518fe8d06d01b194989637ca3c74863633db256e diff --git a/src/ftp.c b/src/ftp.c index 46677d6b..8ce71fd6 100644 --- a/src/ftp.c +++ b/src/ftp.c @@ -353,6 +353,7 @@ Error in server response, closing control connection.\n")); /* Change working directory. If the FTP host runs VMS and the path specified is absolute, we will have to convert it to VMS style as VMS does not like leading slashes */ + DEBUGP (("changing working directory\n")); if (*(u->dir) == '/') { int pwd_len = strlen (pwd); @@ -375,6 +376,7 @@ Error in server response, closing control connection.\n")); } break; case ST_UNIX: + case ST_WINNT: /* pwd_len == 1 means pwd = "/", but u->dir begins with '/' already */ if (pwd_len > 1)