aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-11-06 21:55:19 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-11-06 21:55:19 +0000
commit6a75e16b6942cb3be87298fd9ca0c7d65d81f952 (patch)
tree3bceb1ca26a94beff0ec40edca7034beff408560 /sink.c
parentdfff00af0a435d1a1646051f712240295997efb6 (diff)
downloadfetchmail-6a75e16b6942cb3be87298fd9ca0c7d65d81f952.tar.gz
fetchmail-6a75e16b6942cb3be87298fd9ca0c7d65d81f952.tar.bz2
fetchmail-6a75e16b6942cb3be87298fd9ca0c7d65d81f952.zip
Ready to send this to Mike.
svn path=/trunk/; revision=2649
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sink.c b/sink.c
index 6dc91b58..bb9522fb 100644
--- a/sink.c
+++ b/sink.c
@@ -95,11 +95,11 @@ static int smtp_open(struct query *ctl)
for (idp = ctl->smtphunt; idp; idp = idp->next)
{
char *cp, *parsed_host;
-#ifdef INET6
+#ifdef INET6_ENABLE
char *portnum = SMTP_PORT;
#else
int portnum = SMTP_PORT;
-#endif /* INET6 */
+#endif /* INET6_ENABLE */
xalloca(parsed_host, char *, strlen(idp->id) + 1);
@@ -109,11 +109,11 @@ static int smtp_open(struct query *ctl)
if ((cp = strrchr(parsed_host, '/')))
{
*cp++ = 0;
-#ifdef INET6
+#ifdef INET6_ENABLE
portnum = cp;
#else
portnum = atoi(cp);
-#endif /* INET6 */
+#endif /* INET6_ENABLE */
}
if ((ctl->smtp_socket = SockOpen(parsed_host,portnum,NULL,