diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c index ee31d3eaaecb..c9b46402924f 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 @@ auto_fetch(argc, argv) *portnum++ = '\0'; } else { /* classic style `host:file' */ char *end_brace; - + if (*host == '[' && (end_brace = strrchr(host, ']')) != NULL) { /*IPv6 addr in []*/