summaryrefslogtreecommitdiff
path: root/source3/winbindd/wb_sid2gid.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/wb_sid2gid.c')
-rw-r--r--source3/winbindd/wb_sid2gid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/wb_sid2gid.c b/source3/winbindd/wb_sid2gid.c
index 6c102a205c..cb95191e7e 100644
--- a/source3/winbindd/wb_sid2gid.c
+++ b/source3/winbindd/wb_sid2gid.c
@@ -94,8 +94,7 @@ static void wb_sid2gid_lookup_done(struct tevent_req *subreq)
status = wb_lookupsid_recv(subreq, talloc_tos(), &type, &domname,
&name);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
+ if (tevent_req_nterror(req, status)) {
return;
}