Zero out grp before re-using it (new ones are already cleared by
authormillert <millert@openbsd.org>
Fri, 16 May 2014 17:30:28 +0000 (17:30 +0000)
committermillert <millert@openbsd.org>
Fri, 16 May 2014 17:30:28 +0000 (17:30 +0000)
commit86445948da4b03a0b6fa3494f5ac7b80af6a7263
tree8aa1b66d5b27fbaa5083fc5020d5c3937c0c060d
parente96025a183d0d6ef0ecd68a317e35a8ae21bb8c9
Zero out grp before re-using it (new ones are already cleared by
calloc).   We only reuse grp when there is an unresolvable host.
Fixes a bug where if a host in a netgroup is unresolvable then
entire netgroup is ignore.  OK krw@
sbin/mountd/mountd.c