diff options
author | 1998-07-06 06:56:06 +0000 | |
---|---|---|
committer | 1998-07-06 06:56:06 +0000 | |
commit | 4b973b99b26ebfe9f372367f03ac93522313fac8 (patch) | |
tree | 90f90baf999f222f428250fbaf1663ea168c5b86 /quiz | |
parent | c0faadd28817c18c672c1b7b191cea09b1a91946 (diff) | |
download | bsdgames-darwin-4b973b99b26ebfe9f372367f03ac93522313fac8.tar.gz bsdgames-darwin-4b973b99b26ebfe9f372367f03ac93522313fac8.tar.zst bsdgames-darwin-4b973b99b26ebfe9f372367f03ac93522313fac8.zip |
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
- 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
Diffstat (limited to 'quiz')
0 files changed, 0 insertions, 0 deletions