Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
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;
context->send_password_events = pwd_events;
context->msg_ctx = imessaging_client_init(context,
lp_ctx,
- ec);
+ ev);
}
ldb_module_set_private(module, context);
= 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) {
context->send_events = true;
context->msg_ctx = imessaging_client_init(context,
lp_ctx,
- ec);
+ ev);
}
ldb_module_set_private(module, context);