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

[svn] *** empty log message ***

This commit is contained in:
hniksic 2002-01-26 11:01:39 -08:00
parent ef1eda86c4
commit 774c7c7461

View File

@ -173,7 +173,7 @@ address_list_from_addrinfo (struct addrinfo *ai)
for (i = 0, ai = ai_head; ai; ai = ai->ai_next) for (i = 0, ai = ai_head; ai; ai = ai->ai_next)
if (ai->ai_family == AF_INET6) if (ai->ai_family == AF_INET6)
{ {
struct sockaddr_in6 *sin6 = (struct sockaddr_in6*)ai->ai_addr; struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)ai->ai_addr;
memcpy (al->addresses + i, &sin6->sin6_addr, 16); memcpy (al->addresses + i, &sin6->sin6_addr, 16);
++i; ++i;
} }