summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_getpwsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd_getpwsid.c')
-rw-r--r--source3/winbindd/winbindd_getpwsid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_getpwsid.c b/source3/winbindd/winbindd_getpwsid.c
index efea3fd2b3..5248170075 100644
--- a/source3/winbindd/winbindd_getpwsid.c
+++ b/source3/winbindd/winbindd_getpwsid.c
@@ -70,8 +70,7 @@ static void winbindd_getpwsid_done(struct tevent_req *subreq)
status = wb_getpwsid_recv(subreq);
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);