• T
    fix gethostby*_r result pointer value on error · fe82bb9b
    Timo Teräs 提交于
    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.
    fe82bb9b
gethostbyname2_r.c 1.6 KB