summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-15 21:52:35 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-15 16:25:20 +0200
commitd7b0e9a42a424de4b0409d3c55834e6118342f3b (patch)
tree0ffdbbe109ccae765f6575f12764e6caf319d86c /source3
parent1d9ff7d3bc111f83f8ae45277c0507c4306c0c01 (diff)
downloadsamba-d7b0e9a42a424de4b0409d3c55834e6118342f3b.tar.gz
samba-d7b0e9a42a424de4b0409d3c55834e6118342f3b.tar.bz2
samba-d7b0e9a42a424de4b0409d3c55834e6118342f3b.zip
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 <abartlet@samba.org> Autobuild-Date(master): Fri Jun 15 16:25:20 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/events.c4
1 files changed, 2 insertions, 2 deletions
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)
{