diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-11-06 21:55:19 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-11-06 21:55:19 +0000 |
commit | 6a75e16b6942cb3be87298fd9ca0c7d65d81f952 (patch) | |
tree | 3bceb1ca26a94beff0ec40edca7034beff408560 /sink.c | |
parent | dfff00af0a435d1a1646051f712240295997efb6 (diff) | |
download | fetchmail-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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, |