From: Amos Jeffries Date: Thu, 2 Oct 2008 11:28:58 +0000 (+1300) Subject: Veto: r9250. bad patch. X-Git-Tag: SQUID_3_1_0_1~45^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e95c3c51369e84518cb57cf31db74fb9445dfd86;p=thirdparty%2Fsquid.git Veto: r9250. bad patch. --- diff --git a/src/dns_internal.cc b/src/dns_internal.cc index a32b35030c..f3b8d2403b 100644 --- a/src/dns_internal.cc +++ b/src/dns_internal.cc @@ -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);