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>
Thu, 12 Nov 2015 10:42:33 +0000 (11:42 +0100)
commit1ce486b63506d374dd518e4e6edd6ef002621f73
treeeae88b3432c5d9d4c95c04f69b125586a4735624
parent1363e125d45156df1066cc41ce3008318f1c366f
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>
src/nss_wrapper.c