]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
more debug on failed $hello test
authorwessels <>
Mon, 7 Oct 1996 20:59:17 +0000 (20:59 +0000)
committerwessels <>
Mon, 7 Oct 1996 20:59:17 +0000 (20:59 +0000)
src/dns.cc

index c0cc958a5084f485c93842aaad84e25508d4d87c..26a9f503edb05542fbbe53f0cb933fe767836aa8 100644 (file)
@@ -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;
        }