nwrap: improve code readability in nwrap_getaddrinfo()
authorMichael Adam <obnox@samba.org>
Fri, 6 Nov 2015 10:31:09 +0000 (11:31 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 11 Nov 2015 09:12:40 +0000 (10:12 +0100)
commit3d59f933d49f49222be4e0b2426e7c721cab07a4
tree561a2e22574b62e1f2cfd6e5098a79a931bca68e
parenta24369b83f94e6995e9dccc2ac7848e46f4c4586
nwrap: improve code readability in nwrap_getaddrinfo()

Untangle a (a ? b : c) statement and add an explanatory
comment, since the intention is not immediately obvious.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/nss_wrapper.c