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:
parent
960af0b1b1
commit
335f7a4f92
@ -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>
|
2005-08-12 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* wget.h: Renamed strtoll_return to strtoll_type.
|
* wget.h: Renamed strtoll_return to strtoll_type.
|
||||||
|
@ -265,7 +265,7 @@ address_list_from_ipv4_addresses (char **vec)
|
|||||||
{
|
{
|
||||||
ip_address *ip = &al->addresses[i];
|
ip_address *ip = &al->addresses[i];
|
||||||
ip->family = AF_INET;
|
ip->family = AF_INET;
|
||||||
memcpy (ADDRESS_IPV4_DATA (ip), vec[i], 4);
|
memcpy (IP_INADDR_DATA (ip), vec[i], 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
return al;
|
return al;
|
||||||
|
Loading…
Reference in New Issue
Block a user