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 --- driver.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 38475016..9335a940 100644 --- a/driver.c +++ b/driver.c @@ -1535,11 +1535,11 @@ const int maxfetch; /* maximum number of messages to fetch */ { char buf[POPBUFSIZE+1], *realhost; int len, num, count, new, bytes, deletions = 0, *msgsizes = NULL; -#if INET6 +#if INET6_ENABLE int fetches, dispatches, oldphase; -#else /* INET6 */ +#else /* INET6_ENABLE */ int port, fetches, dispatches, oldphase; -#endif /* INET6 */ +#endif /* INET6_ENABLE */ struct idlist *idp; /* execute pre-initialization command, if any */ @@ -1555,27 +1555,27 @@ const int maxfetch; /* maximum number of messages to fetch */ oldphase = phase; phase = OPEN_WAIT; set_timeout(mytimeout); -#if !INET6 +#if !INET6_ENABLE #ifdef SSL_ENABLE port = ctl->server.port ? ctl->server.port : ( ctl->use_ssl ? protocol->sslport : protocol->port ); #else port = ctl->server.port ? ctl->server.port : protocol->port; #endif -#endif /* !INET6 */ +#endif /* !INET6_ENABLE */ realhost = ctl->server.via ? ctl->server.via : ctl->server.pollname; /* allow time for the port to be set up if we have a plugin */ if (ctl->server.plugin) (void)sleep(1); -#if INET6 +#if INET6_ENABLE if ((mailserver_socket = SockOpen(realhost, ctl->server.service ? ctl->server.service : protocol->service, ctl->server.netsec, ctl->server.plugin)) == -1) -#else /* INET6 */ +#else /* INET6_ENABLE */ if ((mailserver_socket = SockOpen(realhost, port, NULL, ctl->server.plugin)) == -1) -#endif /* INET6 */ +#endif /* INET6_ENABLE */ { -#if !INET6 +#if !INET6_ENABLE int err_no = errno; #ifdef HAVE_RES_SEARCH if (err_no != 0 && h_errno != 0) @@ -1610,7 +1610,7 @@ const int maxfetch; /* maximum number of messages to fetch */ report_complete(stderr, ": %s\n", strerror(err_no)); ehostunreach: -#endif /* INET6 */ +#endif /* INET6_ENABLE */ ok = PS_SOCKET; set_timeout(0); phase = oldphase; -- cgit v1.2.3