diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | conf.c | 10 | ||||
-rw-r--r-- | driver.c | 5 | ||||
-rw-r--r-- | socket.c | 2 |
4 files changed, 14 insertions, 6 deletions
@@ -7,8 +7,9 @@ fetchmail-4.7.4 (): * Supply our own strerror() if system doesn't have one. * Gunther Leber's cleanup for the plugin/plugout code. * Hajimu UMEMOTO's code for localtime in timestamps. +* Michael Warfield's IPv6 fixes. -There are 248 people on fetchmail-friends and 336 on fetchmail-announce. +There are 249 people on fetchmail-friends and 335 on fetchmail-announce. fetchmail-4.7.3 (Thu Dec 31 11:54:01 EST 1998): * Added new FAQ item G11 and added material to R1. @@ -230,7 +230,11 @@ void dump_config(struct runctl *runp, struct query *querylist) using_kpop = (ctl->server.protocol == P_POP3 && +#if !INET6 ctl->server.port == KPOP_PORT && +#else + 0 == strcmp( ctl->server.service, KPOP_PORT ) && +#endif ctl->server.preauthenticate == A_KERBEROS_V4); stringdump("pollname", ctl->server.pollname); @@ -238,7 +242,11 @@ void dump_config(struct runctl *runp, struct query *querylist) stringdump("via", ctl->server.via); stringdump("protocol", using_kpop ? "KPOP" : showproto(ctl->server.protocol)); +#if !INET6 numdump("port", ctl->server.port); +#else + stringdump("service", ctl->server.service); +#endif numdump("timeout", ctl->server.timeout); numdump("interval", ctl->server.interval); @@ -322,7 +330,7 @@ void dump_config(struct runctl *runp, struct query *querylist) fputs("'lmtp':FALSE,", stdout); #ifdef INET6 - stringdump("netsec", ctl->netsec); + stringdump("netsec", ctl->server.netsec); #endif /* INET6 */ stringdump("preconnect", ctl->preconnect); stringdump("postconnect", ctl->postconnect); @@ -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 */ @@ -189,7 +189,7 @@ int SockOpen(const char *host, int clientPort, const char *options, if(hp->h_length != 4 && hp->h_length != 8) { h_errno = errno = 0; - error(0, 0, _("fetchmail: illegal address length received for host %s")); + error(0, 0, _("fetchmail: illegal address length received for host %s"),host); return -1; } /* |