aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-01-03 21:29:06 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-01-03 21:29:06 +0000
commitf0633895d955e2472cbce0e82829b9d97bcd67a9 (patch)
tree5d85d5175020fa5437319a22b270ce8f8912e066 /driver.c
parent61b31d1951de8b8a73c525bbf7f7ee12b1de13c4 (diff)
downloadfetchmail-f0633895d955e2472cbce0e82829b9d97bcd67a9.tar.gz
fetchmail-f0633895d955e2472cbce0e82829b9d97bcd67a9.tar.bz2
fetchmail-f0633895d955e2472cbce0e82829b9d97bcd67a9.zip
Michael Warfield's IPv6 fixes.
svn path=/trunk/; revision=2314
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c5
1 files changed, 2 insertions, 3 deletions
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 */