summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd_lookupname.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd_lookupname.c')
-rw-r--r--source3/winbindd/winbindd_lookupname.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_lookupname.c b/source3/winbindd/winbindd_lookupname.c
index c1d0bf04c1b..1be29fd85c8 100644
--- a/source3/winbindd/winbindd_lookupname.c
+++ b/source3/winbindd/winbindd_lookupname.c
@@ -86,8 +86,7 @@ static void winbindd_lookupname_done(struct tevent_req *subreq)
status = wb_lookupname_recv(subreq, &state->sid, &state->type);
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);