mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +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:
parent
81b4db74a7
commit
d5d17f0f57
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user