aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-03-09 17:59:35 +0000
committerYang Tse <yangsita@gmail.com>2010-03-09 17:59:35 +0000
commita09be6410f5af8d0a4b7c9e302abc3b83cbdd078 (patch)
tree8c20617f3d67c793776d830b9a33db3282709d8d /ares
parente262aaae2bcbb8534aa9e6348b20ec2605a09b7f (diff)
watt32 compilation fix
Diffstat (limited to 'ares')
-rw-r--r--ares/ares_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_init.c b/ares/ares_init.c
index 668dc9f65..0a481e156 100644
--- a/ares/ares_init.c
+++ b/ares/ares_init.c
@@ -822,7 +822,7 @@ DhcpNameServer
return ARES_ENOMEM;
for (i = 0; def_nameservers[i]; i++)
- servers[i].addr.s_addr = htonl(def_nameservers[i]);
+ servers[i].addr.addrV4.s_addr = htonl(def_nameservers[i]);
status = ARES_EOF;
#else