summaryrefslogtreecommitdiff
path: root/source3/winbindd/wb_gid2sid.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-18 10:10:43 +0200
committerVolker Lendecke <vl@samba.org>2010-10-20 18:09:20 +0200
commit1d5cb5125c9ed911e9560a3cd99bc428306539c5 (patch)
treeb484767751b73b9a9e6effd49b3f3485a4ebd26e /source3/winbindd/wb_gid2sid.c
parent347ca8f757d6a0b61bb22be21ffffec95986ad94 (diff)
downloadsamba-1d5cb5125c9ed911e9560a3cd99bc428306539c5.tar.gz
samba-1d5cb5125c9ed911e9560a3cd99bc428306539c5.tar.bz2
samba-1d5cb5125c9ed911e9560a3cd99bc428306539c5.zip
s3: Use any_nt_status_not_ok in winbind
Diffstat (limited to 'source3/winbindd/wb_gid2sid.c')
-rw-r--r--source3/winbindd/wb_gid2sid.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/winbindd/wb_gid2sid.c b/source3/winbindd/wb_gid2sid.c
index 6bde2b5abf..fd2fd0e8eb 100644
--- a/source3/winbindd/wb_gid2sid.c
+++ b/source3/winbindd/wb_gid2sid.c
@@ -97,14 +97,10 @@ static void wb_gid2sid_done(struct tevent_req *subreq)
status = dcerpc_wbint_Gid2Sid_recv(subreq, state, &result);
TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
+ if (any_nt_status_not_ok(status, result, &status)) {
tevent_req_nterror(req, status);
return;
}
- if (!NT_STATUS_IS_OK(result)) {
- tevent_req_nterror(req, result);
- return;
- }
tevent_req_done(req);
}