aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-08-01 22:09:23 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-08-01 22:09:23 +0000
commit80839c4a90693dd4f46217ac7c88ed5b3313f276 (patch)
treed5b08def1f0f2d75feb7b79f1cde1ac4e9b35a4d /socket.c
parentee13b0e37bf5eb003bfae44721fb5f01e6ac5ddc (diff)
downloadfetchmail-80839c4a90693dd4f46217ac7c88ed5b3313f276.tar.gz
fetchmail-80839c4a90693dd4f46217ac7c88ed5b3313f276.tar.bz2
fetchmail-80839c4a90693dd4f46217ac7c88ed5b3313f276.zip
Cleanup: Drop inner_connect and ipv6-connect.c.
svn path=/trunk/; revision=4214
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;