From d5d17f0f5745bc9c62f8a293f2d7059ad199fa1e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 22 Nov 2011 17:37:07 +0100 Subject: s3: Fix wb_next_pwent_fill_done Within a callback routine it is not possible to call tevent_req_post Autobuild-User: Volker Lendecke Autobuild-Date: Tue Nov 22 19:17:30 CET 2011 on sn-devel-104 --- source3/winbindd/wb_next_pwent.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source3') diff --git a/source3/winbindd/wb_next_pwent.c b/source3/winbindd/wb_next_pwent.c index a52a566e7b..d47b2fca91 100644 --- a/source3/winbindd/wb_next_pwent.c +++ b/source3/winbindd/wb_next_pwent.c @@ -160,7 +160,6 @@ static void wb_next_pwent_fill_done(struct tevent_req *subreq) &state->gstate->users[state->gstate->next_user], state->pw); if (tevent_req_nomem(subreq, req)) { - tevent_req_post(req, state->ev); return; } tevent_req_set_callback(subreq, wb_next_pwent_fill_done, req); -- cgit