From b370dd1914cf9b4ab63eb608fb45b5cab0b90eac Mon Sep 17 00:00:00 2001 From: hniksic Date: Sat, 10 Feb 2001 16:06:59 -0800 Subject: [PATCH] [svn] Applied Hack Kampbjorn's patch to print FTP type in debug output. Published in <3A7D94B5.D9B932FB@hackdata.com>. --- src/ChangeLog | 4 ++++ src/url.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 6694febd..5b3c00a9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-02-11 Hack Kampbj-Aørn -B + + * url.c (parseurl): Debug-print u->ftp_type. + 2001-02-11 Hrvoje Niksic * ftp.c (ftp_loop_internal): Disable padding. diff --git a/src/url.c b/src/url.c index 2ef99998..ea3b6453 100644 --- a/src/url.c +++ b/src/url.c @@ -497,6 +497,7 @@ parseurl (const char *url, struct urlinfo *u, int strict) /* #### We don't handle type `d' correctly yet. */ if (!u->ftp_type || TOUPPER (u->ftp_type) == 'D') u->ftp_type = 'I'; + DEBUGP (("ftp_type %c -> ", u->ftp_type)); } DEBUGP (("opath %s -> ", u->path)); /* Parse the username and password (if existing). */