summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/hostaddr_async.c
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2012-08-18 11:19:51 +0000
committereric <eric@openbsd.org>2012-08-18 11:19:51 +0000
commit4a5082305ae892265cda902a457048c17960f23d (patch)
treed6385f3c434e27fe6efd1938c9e5b746464aed71 /lib/libc/asr/hostaddr_async.c
parentallow other targets to work like install -> realinstall (diff)
downloadwireguard-openbsd-4a5082305ae892265cda902a457048c17960f23d.tar.xz
wireguard-openbsd-4a5082305ae892265cda902a457048c17960f23d.zip
Improve error reporting in getnameinfo_async() and getaddrinfo_async().
They do not have to deal with h_errno at all. Also, errno is only kept for EAI_SYSTEM. Small code cleanup while there. Adapt getnameinfo() and getaddrinfo() wrappers to correctly save errno and overwrite it in the EAI_SYSTEM case. General errno handling issue reported by mikeb@.
Diffstat (limited to 'lib/libc/asr/hostaddr_async.c')
0 files changed, 0 insertions, 0 deletions