nwrap: remove code duplication in nwrap_getaddrinfo
authorMichael Adam <obnox@samba.org>
Fri, 6 Nov 2015 10:28:35 +0000 (11:28 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 11 Jan 2016 11:25:28 +0000 (12:25 +0100)
commit8da2110a84922e495dcaa28c794922cf94fb9758
tree848a64d39535ce8ff5893f51ded57f58184f7be1
parent5bea2dc13f56b1cb52a3724c2fb1cc2007926a5b
nwrap: remove code duplication in nwrap_getaddrinfo

The three formerly distinct cases now are all the same.

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