diff options
author | 2012-08-18 11:19:51 +0000 | |
---|---|---|
committer | 2012-08-18 11:19:51 +0000 | |
commit | 4a5082305ae892265cda902a457048c17960f23d (patch) | |
tree | d6385f3c434e27fe6efd1938c9e5b746464aed71 /lib/libc/asr/hostaddr_async.c | |
parent | allow other targets to work like install -> realinstall (diff) | |
download | wireguard-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