diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-18 10:57:54 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 23:48:02 +0100 |
commit | fdf9da96c5ebe3fde8ec9fe6fba70cc8427f51d0 (patch) | |
tree | e73eeeea414b887afcfb87433fec543bdbd19f57 /source3/winbindd/winbindd_dual.c | |
parent | cdb97fd9ec107617083c8d9ea068e1c0555443e8 (diff) | |
download | samba-fdf9da96c5ebe3fde8ec9fe6fba70cc8427f51d0.tar.gz samba-fdf9da96c5ebe3fde8ec9fe6fba70cc8427f51d0.tar.bz2 samba-fdf9da96c5ebe3fde8ec9fe6fba70cc8427f51d0.zip |
s3:winbindd: s/event_add_timed/tevent_add_timer
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_dual.c')
-rw-r--r-- | source3/winbindd/winbindd_dual.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index b4ef0bd79e..08f3dda5f7 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -898,7 +898,7 @@ static void account_lockout_policy_handler(struct tevent_context *ctx, nt_errstr(result))); } - child->lockout_policy_event = event_add_timed(winbind_event_context(), NULL, + child->lockout_policy_event = tevent_add_timer(winbind_event_context(), NULL, timeval_current_ofs(3600, 0), account_lockout_policy_handler, child); @@ -1060,7 +1060,7 @@ static void machine_password_change_handler(struct tevent_context *ctx, } done: - child->machine_password_change_event = event_add_timed(winbind_event_context(), NULL, + child->machine_password_change_event = tevent_add_timer(winbind_event_context(), NULL, next_change, machine_password_change_handler, child); @@ -1497,7 +1497,7 @@ static bool fork_domain_child(struct winbindd_child *child) set_domain_online_request(primary_domain); } - child->lockout_policy_event = event_add_timed( + child->lockout_policy_event = tevent_add_timer( winbind_event_context(), NULL, timeval_zero(), account_lockout_policy_handler, child); @@ -1511,7 +1511,7 @@ static bool fork_domain_child(struct winbindd_child *child) if (calculate_next_machine_pwd_change(child->domain->name, &next_change)) { - child->machine_password_change_event = event_add_timed( + child->machine_password_change_event = tevent_add_timer( winbind_event_context(), NULL, next_change, machine_password_change_handler, child); |