From: Andrew Bartlett Date: Mon, 25 Jun 2018 04:23:00 +0000 (+1200) Subject: dsdb: Use customary variable names for audit event contexts X-Git-Tag: tevent-0.9.37~227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d2468f732fb8a33fa28648b4928bd3a8a1e599ff;p=thirdparty%2Fsamba.git dsdb: Use customary variable names for audit event contexts Signed-off-by: Andrew Bartlett Reviewed-by: Gary Lockyer --- diff --git a/source4/dsdb/samdb/ldb_modules/audit_log.c b/source4/dsdb/samdb/ldb_modules/audit_log.c index 6ad39270d2a..9d51ce52b19 100644 --- a/source4/dsdb/samdb/ldb_modules/audit_log.c +++ b/source4/dsdb/samdb/ldb_modules/audit_log.c @@ -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); diff --git a/source4/dsdb/samdb/ldb_modules/group_audit.c b/source4/dsdb/samdb/ldb_modules/group_audit.c index 31819a3a258..47929aa8764 100644 --- a/source4/dsdb/samdb/ldb_modules/group_audit.c +++ b/source4/dsdb/samdb/ldb_modules/group_audit.c @@ -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);