]> git.ipfire.org Git - thirdparty/glibc.git/commit - sysdeps/posix/getaddrinfo.c
getaddrinfo: In gaih_inet, use h_errno for certain status values only
authorFlorian Weimer <fweimer@redhat.com>
Fri, 1 Sep 2017 06:57:52 +0000 (08:57 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 1 Sep 2017 06:57:52 +0000 (08:57 +0200)
commita2881ef01450295782b065f2f850f340d5c12c14
tree7abcbf2374defb0b0d3c7b0ad5613b99d2406cf4
parentad816a5e00ce891a2cea8187638fa0e00f83aaf6
getaddrinfo: In gaih_inet, use h_errno for certain status values only

h_errno is not set for NSS_STATUS_SUCCESS, so its value might not be
accurate at this point.
ChangeLog
sysdeps/posix/getaddrinfo.c