]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
watt32 compilation fix
authorYang Tse <yangsita@gmail.com>
Tue, 9 Mar 2010 17:59:35 +0000 (17:59 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 9 Mar 2010 17:59:35 +0000 (17:59 +0000)
ares/ares_init.c

index 668dc9f65bd4450458a8c7400f5caa1505c05b8f..0a481e156eea604dca127fe2bc7d92cde327e707 100644 (file)
@@ -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