diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/network/gethostbyaddr_r.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/gethostbyaddr_r.c b/src/network/gethostbyaddr_r.c index 66e03309..0f1e61aa 100644 --- 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;  | 
