summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/ldap/cldapbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/ldap/cldapbench.c b/source4/torture/ldap/cldapbench.c
index 118881d034..9b87ae3138 100644
--- a/source4/torture/ldap/cldapbench.c
+++ b/source4/torture/ldap/cldapbench.c
@@ -172,7 +172,7 @@ static bool bench_cldap_rootdse(struct torture_context *tctx, const char *addres
while (timeval_elapsed(&tv) < timelimit) {
while (num_sent - (state->pass_count+state->fail_count) < 10) {
struct tevent_req *req;
- req = cldap_search_send(state, cldap, &search);
+ req = cldap_search_send(state, tctx->ev, cldap, &search);
tevent_req_set_callback(req, request_rootdse_handler, state);