summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cm.c
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2018-08-21 11:06:16 -0700
committerAndreas Schneider <asn@cryptomilk.org>2018-09-07 17:26:17 +0200
commitae7db3e543d412864fafb0d0303c2219ce344526 (patch)
tree3963543ad7e047dbfc292022f0b7574804e45642 /source3/winbindd/winbindd_cm.c
parent94852e3544bf2cace3ddba8b9c89d986d77fdab5 (diff)
downloadsamba-ae7db3e543d412864fafb0d0303c2219ce344526.tar.gz
s3: Rename server_event_context() to global_event_context()
This reflects that the event context is also used outside of the server processes. The command used for the rename: find . -name '*.[hc]' -print0 | xargs -0 sed -i 's/server_event_context/global_event_context/' Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_cm.c')
-rw-r--r--source3/winbindd/winbindd_cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 95612034d2f..88ef36600d5 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -434,7 +434,7 @@ void set_domain_offline(struct winbindd_domain *domain)
calc_new_online_timeout_check(domain);
- domain->check_online_event = tevent_add_timer(server_event_context(),
+ domain->check_online_event = tevent_add_timer(global_event_context(),
NULL,
timeval_current_ofs(domain->check_online_timeout,0),
check_domain_online_handler,
@@ -610,7 +610,7 @@ void set_domain_online_request(struct winbindd_domain *domain)
TALLOC_FREE(domain->check_online_event);
- domain->check_online_event = tevent_add_timer(server_event_context(),
+ domain->check_online_event = tevent_add_timer(global_event_context(),
NULL,
tev,
check_domain_online_handler,