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;
}
nsvc *vc = cbdataAlloc(nsvc);
nameservers[ns].vc = vc;
- vc->ns = ns;
IPAddress addr;
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);