--------------------- PatchSet 4206 Date: 2007/04/07 14:05:22 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: some housekeeping. Members: include/config.h:1.7.4.12->1.7.4.13 src/dnsserver.cc:1.7.4.4->1.7.4.5 Index: squid3/include/config.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/include/config.h,v retrieving revision 1.7.4.12 retrieving revision 1.7.4.13 diff -u -r1.7.4.12 -r1.7.4.13 --- squid3/include/config.h 5 Apr 2007 03:22:34 -0000 1.7.4.12 +++ squid3/include/config.h 7 Apr 2007 14:05:22 -0000 1.7.4.13 @@ -1,5 +1,5 @@ /* - * $Id: config.h,v 1.7.4.12 2007/04/05 03:22:34 amosjeffries Exp $ + * $Id: config.h,v 1.7.4.13 2007/04/07 14:05:22 amosjeffries Exp $ * * AUTHOR: Duane Wessels * @@ -222,9 +222,7 @@ #define ADDR_EQUALS(s1,s2) (memcmp(&(s1), &(s2), sizeof(struct IN_ADDR)) == 0) #define ADDR_IS_ANYADDR(s) ((s).s_addr == 0x00000000) #define ADDR_IS_NOADDR(s) ((s).s_addr == 0xFFFFFFFF) -#define GETHOSTBYNAME(name) gethostbyname(name) #define NEEDS_BRACKETS(s) 0 -#define RFC1035BUILD_A_QUERY rfc1035BuildAQuery /* Typedefs for missing entries on a system */ Index: squid3/src/dnsserver.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/dnsserver.cc,v retrieving revision 1.7.4.4 retrieving revision 1.7.4.5 diff -u -r1.7.4.4 -r1.7.4.5 --- squid3/src/dnsserver.cc 5 Jan 2007 16:59:16 -0000 1.7.4.4 +++ squid3/src/dnsserver.cc 7 Apr 2007 14:05:22 -0000 1.7.4.5 @@ -1,6 +1,6 @@ /* - * $Id: dnsserver.cc,v 1.7.4.4 2007/01/05 16:59:16 hno Exp $ + * $Id: dnsserver.cc,v 1.7.4.5 2007/04/07 14:05:22 amosjeffries Exp $ * * DEBUG: section 0 DNS Resolver * AUTHOR: Harvest Derived @@ -206,7 +206,7 @@ reverse = 1; result = gethostbyaddr((char *) &addr, sizeof(struct IN_ADDR), AF_FAMILY); } else { - result = GETHOSTBYNAME(buf); + result = gethostbyname(buf); } if (NULL != result)