aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/socket.c b/socket.c
index 576281c2..80caa303 100644
--- a/socket.c
+++ b/socket.c
@@ -281,12 +281,6 @@ int SockOpen(const char *host, const char *service,
return -1;
}
-#ifdef HAVE_INNER_CONNECT
- i = inner_connect(ai0, NULL, 0, NULL, NULL, "fetchmail", NULL);
- if (i >= 0)
- break;
-#else
-
i = -1;
for (ai = ai0; ai; ai = ai->ai_next) {
i = socket(ai->ai_family, ai->ai_socktype, 0);
@@ -310,8 +304,6 @@ int SockOpen(const char *host, const char *service,
break;
}
-#endif
-
freeaddrinfo(ai0);
return i;