diff options
author | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-07-23 04:15:50 +0000 |
---|---|---|
committer | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-07-23 04:15:50 +0000 |
commit | df574f6a450bd3128a5f4aad797ac3fd7e1d71d5 (patch) | |
tree | 3e55e48b9796fb31e842fbd3c33a37cc3a4980f1 /usr.bin | |
parent | 1d9f20887ce7a1e18ce1a5fb41ceef941e1dd627 (diff) |
*hostent() fixes:
- Make _gethtent() static
- _gethtbyname() is dead code (succeeded by _gethtbyname2), kill it
- _gethtent() requires setting the address family field of the
file-scope variable `host' to that of the desired type of the entry
being searched for. Change the behavior to enforce this if it is not
AF_UNSPEC, which will now allow stepping through entries, and set it
to specific values everywhere else.
help & ok millert
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions