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

dsdb: Use customary variable names for audit event contexts

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2018-06-25 16:23:00 +12:00
parent d38160c968
commit d2468f732f
2 changed files with 4 additions and 4 deletions

View File

@ -1550,7 +1550,7 @@ static int log_init(struct ldb_module *module)
struct loadparm_context *lp_ctx
= talloc_get_type_abort(ldb_get_opaque(ldb, "loadparm"),
struct loadparm_context);
struct tevent_context *ec = ldb_get_event_context(ldb);
struct tevent_context *ev = ldb_get_event_context(ldb);
bool sdb_events = false;
bool pwd_events = false;
@ -1568,7 +1568,7 @@ static int log_init(struct ldb_module *module)
context->send_password_events = pwd_events;
context->msg_ctx = imessaging_client_init(context,
lp_ctx,
ec);
ev);
}
ldb_module_set_private(module, context);

View File

@ -1332,7 +1332,7 @@ static int group_init(struct ldb_module *module)
= talloc_get_type_abort(
ldb_get_opaque(ldb, "loadparm"),
struct loadparm_context);
struct tevent_context *ec = ldb_get_event_context(ldb);
struct tevent_context *ev = ldb_get_event_context(ldb);
context = talloc_zero(module, struct audit_context);
if (context == NULL) {
@ -1343,7 +1343,7 @@ static int group_init(struct ldb_module *module)
context->send_events = true;
context->msg_ctx = imessaging_client_init(context,
lp_ctx,
ec);
ev);
}
ldb_module_set_private(module, context);