summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/wb_lookupname.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/wb_lookupname.c')
-rw-r--r--source3/winbindd/wb_lookupname.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/wb_lookupname.c b/source3/winbindd/wb_lookupname.c
index a9b4dfa586d..2ebaba03d3f 100644
--- a/source3/winbindd/wb_lookupname.c
+++ b/source3/winbindd/wb_lookupname.c
@@ -91,8 +91,7 @@ static void wb_lookupname_done(struct tevent_req *subreq)
status = dcerpc_wbint_LookupName_recv(subreq, state, &result);
TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
+ if (tevent_req_nterror(req, status)) {
return;
}
if (NT_STATUS_IS_OK(result)) {