diff options
author | Simon Josefsson <simon@josefsson.org> | 2006-06-21 17:42:35 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2006-06-21 17:42:35 +0000 |
commit | 3e927b7f0ac4271f66e2276124402cb3d204a995 (patch) | |
tree | 85f7127884eec2b99ecd334e26b3ce5858e39238 /gl/getaddrinfo.c | |
parent | 4fe6efa11fea2aa774286e723b3c4f8e995442fa (diff) | |
download | gnutls-3e927b7f0ac4271f66e2276124402cb3d204a995.tar.gz |
Update.
Diffstat (limited to 'gl/getaddrinfo.c')
-rw-r--r-- | gl/getaddrinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gl/getaddrinfo.c b/gl/getaddrinfo.c index add1446006..9ebca0c0e0 100644 --- a/gl/getaddrinfo.c +++ b/gl/getaddrinfo.c @@ -212,6 +212,7 @@ getaddrinfo (const char *restrict nodename, tmp->ai_protocol = (hints) ? hints->ai_protocol : 0; tmp->ai_socktype = (hints) ? hints->ai_socktype : 0; tmp->ai_addr->sa_family = he->h_addrtype; + tmp->ai_family = he->h_addrtype; /* FIXME: If more than one address, create linked list of addrinfo's. */ |