X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fftp.c;h=02d1d85c71f40d045b1ff445f98f1c6d15374bef;hp=2e32c1f03d04b45e9f723706d8e8d7ac1567925d;hb=c17f57f1fa7d0583795ef7321a819c3fb8677a23;hpb=8ab8c0ca8e5b326e23a381e3a56925e1cab831cc diff --git a/src/ftp.c b/src/ftp.c index 2e32c1f0..02d1d85c 100644 --- a/src/ftp.c +++ b/src/ftp.c @@ -1153,7 +1153,7 @@ ftp_loop_internal (struct url *u, struct fileinfo *f, ccon *con) /* Print fetch message, if opt.verbose. */ if (opt.verbose) { - char *hurl = url_string (u, true); + char *hurl = url_string (u, URL_AUTH_HIDE_PASSWD); char tmp[256]; strcpy (tmp, " "); if (count > 1) @@ -1234,7 +1234,7 @@ ftp_loop_internal (struct url *u, struct fileinfo *f, ccon *con) /* Need to hide the password from the URL. The `if' is here so that we don't do the needless allocation every time. */ - char *hurl = url_string (u, true); + char *hurl = url_string (u, URL_AUTH_HIDE_PASSWD); logprintf (LOG_NONVERBOSE, "%s URL: %s [%s] -> \"%s\" [%d]\n", tms, hurl, number_to_static_string (len), locf, count); xfree (hurl);