From: wessels <> Date: Mon, 7 Oct 1996 20:59:17 +0000 (+0000) Subject: more debug on failed $hello test X-Git-Tag: SQUID_3_0_PRE1~5717 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3fecfb530d85c9f74aa2d8fbbd8eb17d8e79a236;p=thirdparty%2Fsquid.git more debug on failed $hello test --- diff --git a/src/dns.cc b/src/dns.cc index c0cc958a50..26a9f503ed 100644 --- a/src/dns.cc +++ b/src/dns.cc @@ -1,5 +1,5 @@ /* - * $Id: dns.cc,v 1.16 1996/09/26 19:19:14 wessels Exp $ + * $Id: dns.cc,v 1.17 1996/10/07 14:59:17 wessels Exp $ * * DEBUG: section 34 Dnsserver interface * AUTHOR: Harvest Derived @@ -178,6 +178,7 @@ dnsOpenServer(char *command) memset(buf, '\0', 128); if (read(sfd, buf, 128) < 0 || strcmp(buf, "$alive\n$end\n")) { debug(34, 0, "dnsOpenServer: $hello read test failed\n"); + debug(34, 0, "--> read: %s\n", xstrerror()); comm_close(sfd); return -1; }