summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb/ldb_ildap
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-21 09:16:45 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-21 10:44:04 +0100
commitd965ff05c9923c8a0e440e905d0d9fe662cc5db0 (patch)
tree88b1ab945e9147b10dad13b6a67b0f2bfef4bb5d /source4/lib/ldb/ldb_ildap
parent53293f2ccba357eab6c4325a08517660e979c1d8 (diff)
downloadsamba-d965ff05c9923c8a0e440e905d0d9fe662cc5db0.tar.gz
samba-d965ff05c9923c8a0e440e905d0d9fe662cc5db0.tar.xz
samba-d965ff05c9923c8a0e440e905d0d9fe662cc5db0.zip
s4:ldb: remove dependency to samba4's events wrapper
metze
Diffstat (limited to 'source4/lib/ldb/ldb_ildap')
-rw-r--r--source4/lib/ldb/ldb_ildap/ldb_ildap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/lib/ldb/ldb_ildap/ldb_ildap.c b/source4/lib/ldb/ldb_ildap/ldb_ildap.c
index 9e31bc62bbb..791cc75dc11 100644
--- a/source4/lib/ldb/ldb_ildap/ldb_ildap.c
+++ b/source4/lib/ldb/ldb_ildap/ldb_ildap.c
@@ -389,9 +389,9 @@ static int ildb_request_send(struct ildb_context *ac, struct ldap_message *msg)
talloc_free(req->time_event);
req->time_event = NULL;
if (ac->req->timeout) {
- req->time_event = event_add_timed(ac->ildb->event_ctx, ac,
- timeval_current_ofs(ac->req->timeout, 0),
- ildb_request_timeout, ac);
+ req->time_event = tevent_add_timer(ac->ildb->event_ctx, ac,
+ timeval_current_ofs(ac->req->timeout, 0),
+ ildb_request_timeout, ac);
}
req->async.fn = ildb_callback;
@@ -683,9 +683,9 @@ static int ildb_handle_request(struct ldb_module *module, struct ldb_request *re
if (ildb_dn_is_special(req)) {
- te = event_add_timed(ac->ildb->event_ctx,
- ac, timeval_zero(),
- ildb_auto_done_callback, ac);
+ te = tevent_add_timer(ac->ildb->event_ctx,
+ ac, timeval_zero(),
+ ildb_auto_done_callback, ac);
if (NULL == te) {
return LDB_ERR_OPERATIONS_ERROR;
}