nwrap: better error propagation in nwrap_add_hname_alias
authorMichael Adam <obnox@samba.org>
Wed, 11 Nov 2015 11:27:33 +0000 (12:27 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 11 Jan 2016 11:25:30 +0000 (12:25 +0100)
commitddd0ca82bb3c74de3996a8ddbe85b6d29e14f552
tree4988815c5955d590ab56c6a135c69d5d55024968
parent7ec5aaeb027c7b37ef9d1d522b194b939499647a
nwrap: better error propagation in nwrap_add_hname_alias

use return codes from the called function.
Remove asserts becaus the cases are caught
by the called functions.

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