diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-08-01 00:04:54 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-08-01 00:04:54 +0000 |
commit | 126ba46de715400250328df555c7ab5687404e41 (patch) | |
tree | e04129a9385ccd2fcc4ec30f85620898936e0c95 /socket.c | |
parent | 1bb4aa7245d21d003eb6bdf18e2218e38ddc0758 (diff) | |
download | fetchmail-126ba46de715400250328df555c7ab5687404e41.tar.gz fetchmail-126ba46de715400250328df555c7ab5687404e41.tar.bz2 fetchmail-126ba46de715400250328df555c7ab5687404e41.zip |
When connect()ing fails, log host and service as well.
svn path=/branches/BRANCH_6-3/; revision=4873
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |