summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_getusersids.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd_getusersids.c')
-rw-r--r--source3/winbindd/winbindd_getusersids.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_getusersids.c b/source3/winbindd/winbindd_getusersids.c
index 157c2ab644..6b5510ad5a 100644
--- a/source3/winbindd/winbindd_getusersids.c
+++ b/source3/winbindd/winbindd_getusersids.c
@@ -74,8 +74,7 @@ static void winbindd_getusersids_done(struct tevent_req *subreq)
status = wb_gettoken_recv(subreq, state, &state->num_sids,
&state->sids);
TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
+ if (tevent_req_nterror(req, status)) {
return;
}
tevent_req_done(req);