fix error returns in gethostby*_r functions
authorRich Felker <dalias@aerifal.cx>
Sat, 2 Feb 2013 06:31:10 +0000 (01:31 -0500)
committerRich Felker <dalias@aerifal.cx>
Sat, 2 Feb 2013 06:31:10 +0000 (01:31 -0500)
commit70b584bc9467ce939c73898212c17be1ab7e39af
treec9b94f2bcf2f0f5e41edb5cccbe07680d644e5a2
parent74025c80ce1eb4cda110ab2e3ac11718d3c6f2ff
fix error returns in gethostby*_r functions

they're supposed to return an error code rather than using errno.
src/network/gethostbyaddr_r.c
src/network/gethostbyname2_r.c