summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 10:57:54 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:48:02 +0100
commit98660d54a86fc29ee34094aa486b12ddf27e3906 (patch)
treeb75ef6cf451cdde8abd4c0cebf416e108c90d0dc
parentfdf9da96c5ebe3fde8ec9fe6fba70cc8427f51d0 (diff)
downloadsamba-98660d54a86fc29ee34094aa486b12ddf27e3906.tar.gz
samba-98660d54a86fc29ee34094aa486b12ddf27e3906.tar.bz2
samba-98660d54a86fc29ee34094aa486b12ddf27e3906.zip
s3:rpc_server: s/event_add_timed/tevent_add_timer
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/rpc_server/samr/srv_samr_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/samr/srv_samr_nt.c b/source3/rpc_server/samr/srv_samr_nt.c
index 6f85779a6d..b366eda2dd 100644
--- a/source3/rpc_server/samr/srv_samr_nt.c
+++ b/source3/rpc_server/samr/srv_samr_nt.c
@@ -306,7 +306,7 @@ static void set_disp_info_cache_timeout(DISP_INFO *disp_info, time_t secs_fromno
"SID %s for %u seconds\n", sid_string_dbg(&disp_info->sid),
(unsigned int)secs_fromnow ));
- disp_info->cache_timeout_event = event_add_timed(
+ disp_info->cache_timeout_event = tevent_add_timer(
server_event_context(), NULL,
timeval_current_ofs(secs_fromnow, 0),
disp_info_cache_idle_timeout_handler, (void *)disp_info);