summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb
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_tdb
parent53293f2ccba357eab6c4325a08517660e979c1d8 (diff)
downloadsamba-d965ff05c9923c8a0e440e905d0d9fe662cc5db0.tar.gz
samba-d965ff05c9923c8a0e440e905d0d9fe662cc5db0.tar.bz2
samba-d965ff05c9923c8a0e440e905d0d9fe662cc5db0.zip
s4:ldb: remove dependency to samba4's events wrapper
metze
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_tdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
index 76469e356b..9528f5a662 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
@@ -1122,13 +1122,13 @@ static int ltdb_handle_request(struct ldb_module *module,
tv.tv_sec = 0;
tv.tv_usec = 0;
- te = event_add_timed(ev, ac, tv, ltdb_callback, ac);
+ te = tevent_add_timer(ev, ac, tv, ltdb_callback, ac);
if (NULL == te) {
return LDB_ERR_OPERATIONS_ERROR;
}
tv.tv_sec = req->starttime + req->timeout;
- ac->timeout_event = event_add_timed(ev, ac, tv, ltdb_timeout, ac);
+ ac->timeout_event = tevent_add_timer(ev, ac, tv, ltdb_timeout, ac);
if (NULL == ac->timeout_event) {
return LDB_ERR_OPERATIONS_ERROR;
}