HOST_NAME_MAX + 1 is big enough for gethostname(3); this array has
authorflorian <florian@openbsd.org>
Tue, 20 Jan 2015 18:44:16 +0000 (18:44 +0000)
committerflorian <florian@openbsd.org>
Tue, 20 Jan 2015 18:44:16 +0000 (18:44 +0000)
commit1bdf051fda8b701617c46cf5096dffac98e74ee5
tree02860238af3bae8c7a2ec77a8ecc55a972eeb5a5
parent1ed6c4d6c141238116172ce048aefaee8bae60d0
HOST_NAME_MAX + 1 is big enough for gethostname(3); this array has
been one char too big when it was defined in terms of MAXHOSTNAMELEN.
While here, NI_MAXHOST is big enough for getnameinfo(3).
OK benno@
usr.sbin/traceroute/traceroute.c