nwrap: refactor nwrap_add_hname_* into one nwrap_ed_inventarize.
authorMichael Adam <obnox@samba.org>
Thu, 12 Nov 2015 07:29:57 +0000 (08:29 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 11 Jan 2016 11:25:31 +0000 (12:25 +0100)
commit07f1bef632af79ff75033e08d3d69937523d40c5
tree940c89c9a3921b1d92cafbd1080060a766398d20
parent55e9606e68c56e942055b16d5624dbd9cad2f5da
nwrap: refactor nwrap_add_hname_* into one nwrap_ed_inventarize.

This reduces code duplication and abstracts the logic out.
It was not special to hname or hname_alias.

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