make getservby*_r return error code rather than -1 (and using errno)
authorRich Felker <dalias@aerifal.cx>
Sun, 22 Jul 2012 22:49:49 +0000 (18:49 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 22 Jul 2012 22:49:49 +0000 (18:49 -0400)
commit75fff40b9b536e0e6847d17ecc076894ca7b7068
treebd5d843b069cdbb703bc414ef3ab7767191d7ea6
parent68c58223672465202958a5da16f19f64f32acf74
make getservby*_r return error code rather than -1 (and using errno)

untested but should be correct..
src/network/getservbyname_r.c
src/network/getservbyport_r.c