From 98660d54a86fc29ee34094aa486b12ddf27e3906 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 18 Feb 2013 10:57:54 +0100 Subject: s3:rpc_server: s/event_add_timed/tevent_add_timer Signed-off-by: Stefan Metzmacher Reviewed-by: Michael Adam --- source3/rpc_server/samr/srv_samr_nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit