1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Use IP_INADDR_DATA.

This commit is contained in:
hniksic 2005-08-23 13:40:37 -07:00
parent 960af0b1b1
commit 335f7a4f92
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-08-23 Hrvoje Niksic <hniksic@xemacs.org>
* host.c (address_list_from_ipv4_addresses): Use IP_INADDR_DATA.
2005-08-12 Hrvoje Niksic <hniksic@xemacs.org>
* wget.h: Renamed strtoll_return to strtoll_type.

View File

@ -265,7 +265,7 @@ address_list_from_ipv4_addresses (char **vec)
{
ip_address *ip = &al->addresses[i];
ip->family = AF_INET;
memcpy (ADDRESS_IPV4_DATA (ip), vec[i], 4);
memcpy (IP_INADDR_DATA (ip), vec[i], 4);
}
return al;