aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-08-01 00:04:54 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-08-01 00:04:54 +0000
commit126ba46de715400250328df555c7ab5687404e41 (patch)
treee04129a9385ccd2fcc4ec30f85620898936e0c95 /socket.c
parent1bb4aa7245d21d003eb6bdf18e2218e38ddc0758 (diff)
downloadfetchmail-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index f882281d..3cf84844 100644
--- a/socket.c
+++ b/socket.c
@@ -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;