From f530db9e41b95eff04098686753db4938e30dbe0 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 26 Sep 2006 22:13:19 +0000 Subject: When the server name cannot be canonicalized, log the gai_strerror value. svn path=/branches/BRANCH_6-3/; revision=4916 --- driver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index a2468f23..064ed1fe 100644 --- a/driver.c +++ b/driver.c @@ -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; -- cgit v1.2.3