diff options
Diffstat (limited to 'usr.bin/ftp/fetch.c')
-rw-r--r-- | usr.bin/ftp/fetch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c index ee31d3e..c9b4640 100644 --- a/usr.bin/ftp/fetch.c +++ b/usr.bin/ftp/fetch.c @@ -201,7 +201,7 @@ url_get(origline, proxyenv) if (portnum != NULL) *portnum++ = '\0'; } - + if (debug) printf("host %s, port %s, path %s, save as %s.\n", host, portnum, uri, savefile); @@ -569,7 +569,7 @@ bad_ftp_url: *portnum++ = '\0'; } else { /* classic style `host:file' */ char *end_brace; - + if (*host == '[' && (end_brace = strrchr(host, ']')) != NULL) { /*IPv6 addr in []*/ |