summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-11-22 17:37:07 +0100
committerVolker Lendecke <vlendec@samba.org>2011-11-22 19:17:30 +0100
commitd5d17f0f5745bc9c62f8a293f2d7059ad199fa1e (patch)
tree83512818d4a98bebf911d7a0592b6e41e2aa15c2
parent81b4db74a704fbc57e7fed8b8a75fc6de18a4e8d (diff)
downloadsamba-d5d17f0f5745bc9c62f8a293f2d7059ad199fa1e.tar.gz
samba-d5d17f0f5745bc9c62f8a293f2d7059ad199fa1e.tar.bz2
samba-d5d17f0f5745bc9c62f8a293f2d7059ad199fa1e.zip
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
-rw-r--r--source3/winbindd/wb_next_pwent.c1
1 files changed, 0 insertions, 1 deletions
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);