summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/wb_next_pwent.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/wb_next_pwent.c')
-rw-r--r--source3/winbindd/wb_next_pwent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/wb_next_pwent.c b/source3/winbindd/wb_next_pwent.c
index 4595fbc6533..da4754cc9fc 100644
--- a/source3/winbindd/wb_next_pwent.c
+++ b/source3/winbindd/wb_next_pwent.c
@@ -148,8 +148,7 @@ static void wb_next_pwent_fill_done(struct tevent_req *subreq)
status = wb_fill_pwent_recv(subreq);
TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
+ if (tevent_req_nterror(req, status)) {
return;
}
state->gstate->next_user += 1;