1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Applied Hack Kampbjorn's patch to print FTP type in debug output.

Published in <3A7D94B5.D9B932FB@hackdata.com>.
This commit is contained in:
hniksic 2001-02-10 16:06:59 -08:00
parent 366b832e3f
commit b370dd1914
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-02-11 Hack Kampbj-Aørn <hack@hackdata.com>-B
* url.c (parseurl): Debug-print u->ftp_type.
2001-02-11 Hrvoje Niksic <hniksic@arsdigita.com> 2001-02-11 Hrvoje Niksic <hniksic@arsdigita.com>
* ftp.c (ftp_loop_internal): Disable padding. * ftp.c (ftp_loop_internal): Disable padding.

View File

@ -497,6 +497,7 @@ parseurl (const char *url, struct urlinfo *u, int strict)
/* #### We don't handle type `d' correctly yet. */ /* #### We don't handle type `d' correctly yet. */
if (!u->ftp_type || TOUPPER (u->ftp_type) == 'D') if (!u->ftp_type || TOUPPER (u->ftp_type) == 'D')
u->ftp_type = 'I'; u->ftp_type = 'I';
DEBUGP (("ftp_type %c -> ", u->ftp_type));
} }
DEBUGP (("opath %s -> ", u->path)); DEBUGP (("opath %s -> ", u->path));
/* Parse the username and password (if existing). */ /* Parse the username and password (if existing). */