diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | socket.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -96,6 +96,8 @@ fetchmail 6.3.5 (not yet released): with new polls, and SIGHUP would be ignored for root users. SIGHUP now matches documented behavior. SIGUSR1 has always been a wakeup signal for both root (undocumented) and non-root users. See also the deprecation warning above. +* When a connection fails, log not only the IP address, but also host and + service name. # CHANGES: * Rename all fetchmail-internal lock_* functions to fm_lock_*. Obsoletes @@ -321,7 +321,7 @@ int SockOpen(const char *host, const char *service, if (outlevel >= O_VERBOSE) report_complete(stdout, GT_("connection failed.\n")); if (outlevel > O_SILENT) - report(stderr, GT_("connection to %s failed: %s.\n"), buf, strerror(e)); + report(stderr, GT_("connection to %s:%s [%s] failed: %s.\n"), host, service, buf, strerror(e)); fm_close(i); i = -1; continue; |