From 6a75e16b6942cb3be87298fd9ca0c7d65d81f952 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 6 Nov 1999 21:55:19 +0000 Subject: Ready to send this to Mike. svn path=/trunk/; revision=2649 --- sink.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sink.c') 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, -- cgit v1.2.3