diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-13 10:46:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-13 10:46:13 +0000 |
commit | 98208922f3270cbbeb663b55e1f0df1e508aef9c (patch) | |
tree | c8820646b98ed00c67aed5b166f3593a45f946f7 /usr.bin/ftp | |
parent | 804207740d55bb700fb73be32bafa80a989262a8 (diff) |
oops
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r-- | usr.bin/ftp/fetch.c | 11 |
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 /. |