diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-01-03 21:29:06 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-01-03 21:29:06 +0000 |
commit | f0633895d955e2472cbce0e82829b9d97bcd67a9 (patch) | |
tree | 5d85d5175020fa5437319a22b270ce8f8912e066 /driver.c | |
parent | 61b31d1951de8b8a73c525bbf7f7ee12b1de13c4 (diff) | |
download | fetchmail-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.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 */ |