(do_connect): remove bogus local block variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7596 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -112,8 +112,6 @@ do_connect (const char *hostname, int port, int nodelay)
|
|||||||
errx (1, "getaddrinfo(%s): %s", hostname, gai_strerror(error));
|
errx (1, "getaddrinfo(%s): %s", hostname, gai_strerror(error));
|
||||||
|
|
||||||
for (a = ai; a != NULL; a = a->ai_next) {
|
for (a = ai; a != NULL; a = a->ai_next) {
|
||||||
int s;
|
|
||||||
|
|
||||||
s = socket (a->ai_family, a->ai_socktype, a->ai_protocol);
|
s = socket (a->ai_family, a->ai_socktype, a->ai_protocol);
|
||||||
if (s < 0)
|
if (s < 0)
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user