Move connect_sync() to util.c and use it when connecting via http
authormillert <millert@openbsd.org>
Thu, 18 Aug 2016 16:23:06 +0000 (16:23 +0000)
committermillert <millert@openbsd.org>
Thu, 18 Aug 2016 16:23:06 +0000 (16:23 +0000)
commit5e970e47f21d38fcd753ce2c7ad746224f8af0a8
tree6f8145c532323d17c952a5ee63706d7072f8f6bc
parentac17f33b0bb92fc5065ba518ce5e2f09da218560
Move connect_sync() to util.c and use it when connecting via http
too.  OK sthen@ deraadt@
usr.bin/ftp/extern.h
usr.bin/ftp/fetch.c
usr.bin/ftp/ftp.c
usr.bin/ftp/util.c