diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-09-26 22:13:19 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-09-26 22:13:19 +0000 |
commit | f530db9e41b95eff04098686753db4938e30dbe0 (patch) | |
tree | 01b300a909c64305db5220adbea31fd1bfc1c305 /driver.c | |
parent | 60af2e06481166077fb1e006e30999a9e3f21a40 (diff) | |
download | fetchmail-f530db9e41b95eff04098686753db4938e30dbe0.tar.gz fetchmail-f530db9e41b95eff04098686753db4938e30dbe0.tar.bz2 fetchmail-f530db9e41b95eff04098686753db4938e30dbe0.zip |
When the server name cannot be canonicalized, log the gai_strerror value.
svn path=/branches/BRANCH_6-3/; revision=4916
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1002,8 +1002,9 @@ static int do_session( if (error) { report(stderr, - GT_("couldn't find canonical DNS name of %s (%s)\n"), - ctl->server.pollname, ctl->server.queryname); + GT_("couldn't find canonical DNS name of %s (%s): %s\n"), + ctl->server.pollname, ctl->server.queryname, + gai_strerror(error)); err = PS_DNS; set_timeout(0); phase = oldphase; |