From d7b0e9a42a424de4b0409d3c55834e6118342f3b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 15 Jun 2012 21:52:35 +1000 Subject: s3-lib: Fix conversion of lib/events.c to modern tevent names This corrects an error in 8e31d97c8b62d34aff5d52bfe46dbcc5805dae03. Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Fri Jun 15 16:25:20 CEST 2012 on sn-devel-104 --- source3/lib/events.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib/events.c') diff --git a/source3/lib/events.c b/source3/lib/events.c index 64ea3ad719..72fd40ef59 100644 --- a/source3/lib/events.c +++ b/source3/lib/events.c @@ -456,7 +456,7 @@ struct tevent_context *s3_tevent_context_init(TALLOC_CTX *mem_ctx) } struct idle_event { - struct timed_event *te; + struct tevent_timer *te; struct timeval interval; char *name; bool (*handler)(const struct timeval *now, void *private_data); @@ -464,7 +464,7 @@ struct idle_event { }; static void smbd_idle_event_handler(struct tevent_context *ctx, - struct timer_event *te, + struct tevent_timer *te, struct timeval now, void *private_data) { -- cgit