aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_gethostbyaddr.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-08-18 08:48:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-08-18 08:48:31 +0000
commitfc281d6440e239c8fceb3831764ccbb9bad027b5 (patch)
tree898be9aa5e90dae8a586f186787ba18f6f474680 /ares/ares_gethostbyaddr.c
parente22ac39da439dfc883debf92ffc06d8368d012bf (diff)
detabified
Diffstat (limited to 'ares/ares_gethostbyaddr.c')
-rw-r--r--ares/ares_gethostbyaddr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/ares_gethostbyaddr.c b/ares/ares_gethostbyaddr.c
index a415e36db..edf0db551 100644
--- a/ares/ares_gethostbyaddr.c
+++ b/ares/ares_gethostbyaddr.c
@@ -68,7 +68,7 @@ void ares_gethostbyaddr(ares_channel channel, const void *addr, int addrlen,
return;
}
- if ((family == AF_INET && addrlen != sizeof(struct in_addr)) ||
+ if ((family == AF_INET && addrlen != sizeof(struct in_addr)) ||
(family == AF_INET6 && addrlen != sizeof(struct in6_addr)))
{
callback(arg, ARES_ENOTIMP, NULL);
@@ -107,7 +107,7 @@ static void next_lookup(struct addr_query *aquery)
switch (*p)
{
case 'b':
- if (aquery->family == AF_INET)
+ if (aquery->family == AF_INET)
{
addr = ntohl(aquery->addr.addr4.s_addr);
a1 = (int)((addr >> 24) & 0xff);