1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3: Fix wb_next_pwent_fill_done

Within a callback routine it is not possible to call tevent_req_post

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Nov 22 19:17:30 CET 2011 on sn-devel-104
This commit is contained in:
Volker Lendecke 2011-11-22 17:37:07 +01:00 committed by Volker Lendecke
parent 81b4db74a7
commit d5d17f0f57

View File

@ -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);