aboutsummaryrefslogtreecommitdiff
path: root/src/network/getservbyport_r.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fix getservby*_r result pointer value on error•••this is a clone of the fix to the gethostby*_r functions in commit fe82bb9b921be34370e6b71a1c6f062c20999ae0. 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. Daniel Sabogal2016-09-241-0/+1
* make getservby*_r return error code rather than -1 (and using errno)•••untested but should be correct.. Rich Felker2012-07-221-10/+18
* fix getservby*() with null pointer for protocol argument•••not sure this is the best fix but it should work Rich Felker2012-07-141-0/+4
* remove some stray trailing space charactersRich Felker2011-09-131-1/+1
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+43