]> sjero.net Git - wget/commitdiff
[svn] Applied Hack Kampbjorn's patch to print FTP type in debug output.
authorhniksic <devnull@localhost>
Sun, 11 Feb 2001 00:06:59 +0000 (16:06 -0800)
committerhniksic <devnull@localhost>
Sun, 11 Feb 2001 00:06:59 +0000 (16:06 -0800)
Published in <3A7D94B5.D9B932FB@hackdata.com>.

src/ChangeLog
src/url.c

index 6694febd276e93a357f9e42ab827c6dc95945247..5b3c00a945c59d21f3f7b38dfc991e29d49074f7 100644 (file)
@@ -1,3 +1,7 @@
+2001-02-11  Hack Kampbj\e-Aørn  <hack@hackdata.com>\e-B
+
+       * url.c (parseurl): Debug-print u->ftp_type.
+
 2001-02-11  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * ftp.c (ftp_loop_internal): Disable padding.
index 2ef99998d92ffe5064c0b293fabcbabcbfd9bc26..ea3b645388d77aaf3418d8386bc08f2870566784 100644 (file)
--- 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).  */