summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/get_names.c
Commit message (Collapse)AuthorAgeFilesLines
* - use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg1998-07-061-4/+5
| | | | | | - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
* Yet Another Monster Commit:lukem1997-10-101-6/+13
| | | | | | | | | | | - WARNSify - getopt returns -1 not EOF - select() uses an fd_set, not int/long; modify code to use FD_* et al instead of direct bitwise operations - in otto.c::look (renamed to ottolook() to prevent name clash), the case WEST section had a 'goto cont_east', instead of 'goto cont_west'. (picked up by WARNS=1, because cont_west was an unused label because of this typo). probably meant that otto got lost in the maze :-/ - deprecate register, convert bcmp() -> memcmp()
* hunt version 1993-07-17mrg1997-10-041-0/+125