From f0633895d955e2472cbce0e82829b9d97bcd67a9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 3 Jan 1999 21:29:06 +0000 Subject: Michael Warfield's IPv6 fixes. svn path=/trunk/; revision=2314 --- driver.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index b9849062..3650f14b 100644 --- a/driver.c +++ b/driver.c @@ -1476,7 +1476,7 @@ const struct method *proto; /* protocol method table */ char buf[POPBUFSIZE+1], *realhost; int len, num, count, new, bytes, deletions = 0, *msgsizes = NULL; #if INET6 - int fetches, dispatches; + int fetches, dispatches, oldphase; #else /* INET6 */ int port, fetches, dispatches, oldphase; #endif /* INET6 */ @@ -1502,8 +1502,7 @@ const struct method *proto; /* protocol method table */ #if INET6 if ((sock = SockOpen(realhost, ctl->server.service ? ctl->server.service : protocol->service, - ctl->server.netsec)) == -1, ctl->server.plugin - ) + ctl->server.netsec, ctl->server.plugin)) == -1) #else /* INET6 */ if ((sock = SockOpen(realhost, port, NULL, ctl->server.plugin)) == -1) #endif /* INET6 */ -- cgit v1.2.3