* 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.
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);
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);
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);
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 */
#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 */
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;
}
/*