1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r14505: Rename the timed_event to lockout_policy_event.

Guenther
This commit is contained in:
Günther Deschner 2006-03-17 10:14:33 +00:00 committed by Gerald (Jerry) Carter
parent 7b1fcb75da
commit 3e607aa69a
2 changed files with 9 additions and 9 deletions

View File

@ -149,7 +149,7 @@ struct winbindd_child {
TALLOC_CTX *mem_ctx;
struct fd_event event;
struct timed_event *timed_event;
struct timed_event *lockout_policy_event;
struct winbindd_async_request *requests;
};

View File

@ -508,8 +508,8 @@ static void account_lockout_policy_handler(struct timed_event *te,
DEBUG(10,("account_lockout_policy_handler called\n"));
if (child->timed_event) {
TALLOC_FREE(child->timed_event);
if (child->lockout_policy_event) {
TALLOC_FREE(child->lockout_policy_event);
}
methods = child->domain->methods;
@ -520,11 +520,11 @@ static void account_lockout_policy_handler(struct timed_event *te,
return;
}
child->timed_event = add_timed_event(child->mem_ctx,
timeval_current_ofs(3600, 0),
"account_lockout_policy_handler",
account_lockout_policy_handler,
child);
child->lockout_policy_event = add_timed_event(child->mem_ctx,
timeval_current_ofs(3600, 0),
"account_lockout_policy_handler",
account_lockout_policy_handler,
child);
}
/* Deal with a request to go offline. */
@ -657,7 +657,7 @@ static BOOL fork_domain_child(struct winbindd_child *child)
if (child->domain != NULL) {
/* We might be in the idmap child...*/
child->timed_event = add_timed_event(
child->lockout_policy_event = add_timed_event(
child->mem_ctx, timeval_zero(),
"account_lockout_policy_handler",
account_lockout_policy_handler,