projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix wide printf forms ignoring width for %lc format specifier
[musl]
/
src
/
network
/
gethostbyaddr.c
diff --git
a/src/network/gethostbyaddr.c
b/src/network/gethostbyaddr.c
index
598e224
..
c3cacaa
100644
(file)
--- a/
src/network/gethostbyaddr.c
+++ b/
src/network/gethostbyaddr.c
@@
-20,5
+20,5
@@
struct hostent *gethostbyaddr(const void *a, socklen_t l, int af)
err = gethostbyaddr_r(a, l, af, h,
(void *)(h+1), size-sizeof *h, &res, &h_errno);
} while (err == ERANGE);
- return
err ? 0 : h
;
+ return
res
;
}