projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove legacy time32 timer[fd] syscalls from public syscall.h
[musl]
/
src
/
network
/
gethostbyaddr_r.c
diff --git
a/src/network/gethostbyaddr_r.c
b/src/network/gethostbyaddr_r.c
index
66e0330
..
0f1e61a
100644
(file)
--- a/
src/network/gethostbyaddr_r.c
+++ b/
src/network/gethostbyaddr_r.c
@@
-64,6
+64,7
@@
int gethostbyaddr_r(const void *a, socklen_t l, int af,
}
h->h_addrtype = af;
+ h->h_length = l;
h->h_name = h->h_aliases[0];
*res = h;
return 0;