=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/fetch.c,v retrieving revision 1.145 retrieving revision 1.146 diff -c -r1.145 -r1.146 *** src/usr.bin/ftp/fetch.c 2016/01/28 21:31:50 1.145 --- src/usr.bin/ftp/fetch.c 2016/05/06 22:06:09 1.146 *************** *** 1,4 **** ! /* $OpenBSD: fetch.c,v 1.145 2016/01/28 21:31:50 martijn Exp $ */ /* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: fetch.c,v 1.146 2016/05/06 22:06:09 jca Exp $ */ /* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */ /*- *************** *** 1161,1167 **** pass = urldecode(pass); } - #ifdef INET6 /* check [host]:port, or [host] */ if (host[0] == '[') { cp = strchr(host, ']'); --- 1161,1166 ---- *************** *** 1175,1183 **** cp = host; } else cp = host; - #else - cp = host; - #endif /* split off host[:port] if there is */ if (cp) { --- 1174,1179 ----