fix test: getnameinfo returns a non-zero value on error,
authordjm <djm@openbsd.org>
Mon, 27 Mar 2023 03:31:05 +0000 (03:31 +0000)
committerdjm <djm@openbsd.org>
Mon, 27 Mar 2023 03:31:05 +0000 (03:31 +0000)
commitdae094130d4292ec839b80c2afb04cdc3482a46c
treeeb4fff38c58cd11bb0525c0e5f47e58cef4fd162
parent2a80f0c1f586fcf9feb753b985e6050fb61feb87
fix test: getnameinfo returns a non-zero value on error,
not (neccessarily) -1. From GHPR#384
usr.bin/ssh/addr.c