Use ">", not ">=" when comparing length to HOST_NAME_MAX since
authormillert <millert@openbsd.org>
Fri, 16 Jan 2015 18:20:14 +0000 (18:20 +0000)
committermillert <millert@openbsd.org>
Fri, 16 Jan 2015 18:20:14 +0000 (18:20 +0000)
commit8e0291465a259d2fd77493645102631be704bf95
treec0cc1a4875cd6d92734654bb81a0061852afb962
parent8cdb393c787dfeee93fb2eb5729fddc1c22361d0
Use ">", not ">=" when comparing length to HOST_NAME_MAX since
otherwise we end up needlessly replacing a NUL with a NUL.
OK deraadt@
lib/libc/net/getnetent.c