]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2288: compile error in dns_internal.cc
authorAmos Jeffries <amosjeffries@squid-cache.org>
Tue, 1 Apr 2008 10:58:55 +0000 (04:58 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Tue, 1 Apr 2008 10:58:55 +0000 (04:58 -0600)
src/dns_internal.cc

index f3c7f91975f131661d51c2c08b78dc0babf19206..a04aa6f39413bec1b624b92267857bc9336ea71c 100644 (file)
@@ -775,7 +775,7 @@ idnsSendQuery(idns_query * q)
             idnsSendQueryVC(q, ns);
             x = 0;
         } else {
-            x = comm_udp_sendto(DnsSocket, nameservers[ns].S, sizeof(nameservers[ns].S), q->buf, q->sz);
+            x = comm_udp_sendto(DnsSocket, &nameservers[ns].S, sizeof(nameservers[ns].S), q->buf, q->sz);
         }
 
         q->nsends++;