Change host() error check to the more simple for of != 1.
authorclaudio <claudio@openbsd.org>
Thu, 7 Oct 2021 11:32:36 +0000 (11:32 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 7 Oct 2021 11:32:36 +0000 (11:32 +0000)
commitaf5fcce9e1d9fb7eb35f51db732944f8d02c7b30
tree45d2a3a4a64f948782d9a471106fc1d3341ca95a
parenta3d2c99cd942fd8c5b692acb72e25c26ad838329
Change host() error check to the more simple for of != 1.
Host() return 1 on success and 0 or -1 on failure.
OK kn@ gsoares@
usr.sbin/ldapd/parse.y