summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ftp/fetch.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c
index c9928beeb67..cfcf761f660 100644
--- a/usr.bin/ftp/fetch.c
+++ b/usr.bin/ftp/fetch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fetch.c,v 1.19 1998/05/13 10:42:38 deraadt Exp $ */
+/* $OpenBSD: fetch.c,v 1.20 1998/05/13 10:46:12 deraadt Exp $ */
/* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */
/*-
@@ -38,7 +38,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: fetch.c,v 1.19 1998/05/13 10:42:38 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: fetch.c,v 1.20 1998/05/13 10:46:12 deraadt Exp $";
#endif /* not lint */
/*
@@ -252,13 +252,6 @@ url_get(origline, proxyenv, outfile)
goto cleanup_url_get;
}
- while (connect(s, (struct sockaddr *)&sin, sizeof(sin)) == -1) {
- if (errno == EINTR)
- continue;
- warn("Can't connect to %s", host);
- goto cleanup_url_get;
- }
-
/*
* Construct and send the request. We're expecting a return
* status of "200". Proxy requests don't want leading /.