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>
Mon, 11 Jan 2016 11:25:29 +0000 (12:25 +0100)
commit53e633e4017cfb3270a4c81d7bb33b437f80ed97
tree96529ff4291e849abe94765727e7fa84193a507e
parent8da2110a84922e495dcaa28c794922cf94fb9758
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>
lib/nss_wrapper/nss_wrapper.c