]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Veto: r9250. bad patch.
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 2 Oct 2008 11:28:58 +0000 (00:28 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 2 Oct 2008 11:28:58 +0000 (00:28 +1300)
src/dns_internal.cc

index a32b35030cc6d1eb3bc0cc584268e1fc5af6689c..f3b8d2403b0fe6523ce7bcfce9ec512660841236 100644 (file)
@@ -718,7 +718,6 @@ idnsInitVCConnected(int fd, comm_err_t status, int xerrno, void *data)
     nsvc * vc = (nsvc *)data;
 
     if (status != COMM_OK) {
-        debugs(78, 1, "idnsInitVCConnected: Failed to connect to nameserver " << inet_ntoa(nameservers[vc->ns].S.sin_addr) << " using TCP!");
         comm_close(fd);
         return;
     }
@@ -745,7 +744,6 @@ idnsInitVC(int ns)
 
     nsvc *vc = cbdataAlloc(nsvc);
     nameservers[ns].vc = vc;
-    vc->ns = ns;
 
     IPAddress addr;
 
@@ -782,12 +780,6 @@ idnsSendQueryVC(idns_query * q, int ns)
 
     nsvc *vc = nameservers[ns].vc;
 
-    if (!vc) {
-        debugs(78, 1, "idnsSendQuery: Failed to initiate TCP connection to nameserver " << inet_ntoa(nameservers[vc->ns].S.sin_addr) << "!");
-
-        return;
-    }
-
     vc->queue->reset();
 
     short head = htons(q->sz);