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)
committerAndreas Schneider <asn@samba.org>
Fri, 13 Nov 2015 08:38:26 +0000 (09:38 +0100)
commitce496c3baf5b7d99ae8f7d8ad87493b936d56463
tree356108f50e556752276883488347f73ef40eac70
parentcab46be8c3ec713eeb9f2c7fb8aa9b984c1f5bba
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>
src/nss_wrapper.c