fix getservby*_r result pointer value on error
this is a clone of the fix to the gethostby*_r functions in commit fe82bb9b. the man pages document that the getservby*_r functions set this pointer to NULL if there was an error or if no record was found.
Showing
想要评论请 注册 或 登录