diff options
Diffstat (limited to 'source3/winbindd/wb_uid2sid.c')
-rw-r--r-- | source3/winbindd/wb_uid2sid.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/winbindd/wb_uid2sid.c b/source3/winbindd/wb_uid2sid.c index 46b896a1409..5beceafb149 100644 --- a/source3/winbindd/wb_uid2sid.c +++ b/source3/winbindd/wb_uid2sid.c @@ -97,14 +97,10 @@ static void wb_uid2sid_done(struct tevent_req *subreq) status = dcerpc_wbint_Uid2Sid_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); } |