commit | fe82bb9b921be34370e6b71a1c6f062c20999ae0 | [log] [tgz] |
---|---|---|
author | Timo Teräs <timo.teras@iki.fi> | Fri Jun 20 13:53:23 2014 +0300 |
committer | Rich Felker <dalias@aerifal.cx> | Fri Jun 20 09:17:57 2014 -0400 |
tree | 1191f70887f39f7617393f3bf27db77575011650 | |
parent | 2e5d256984adb6864ece82fb689ddb2b20e10e4d [diff] |
fix gethostby*_r result pointer value on error according to the documentation in the man pages, the GNU extension functions gethostbyaddr_r, gethostbyname_r and gethostbyname2_r are guaranteed to set the result pointer to NULL in case of error or no result.