From: Amos Jeffries Date: Sat, 18 Jul 2009 14:08:46 +0000 (+1200) Subject: Fix compile error in non-split-stack builds X-Git-Tag: SQUID_3_2_0_1~865 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84cb2e79755cfc5e11565613c707d4d8316782f0;p=thirdparty%2Fsquid.git Fix compile error in non-split-stack builds --- diff --git a/src/dns_internal.cc b/src/dns_internal.cc index c5fb5a8dca..c3ca3df877 100644 --- a/src/dns_internal.cc +++ b/src/dns_internal.cc @@ -1410,7 +1410,11 @@ idnsInit(void) #endif if (DnsSocketA >= 0) { port = comm_local_port(DnsSocketA); +#if IPV6_SPECIAL_SPLITSTACK debugs(78, 1, "DNS Socket created at " << addr4 << ", FD " << DnsSocketA); +#else + debugs(78, 1, "DNS Socket created at " << addr << ", FD " << DnsSocketA); +#endif } }