From 3c9483f7f9f4b7b98418df76ccb5000a132a7003 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Wed, 11 Jan 2017 16:15:42 +1300 Subject: [PATCH] replmd: fix variable names in replmd_check_upgrade_links Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index 149681a76a5..c9deb36c66d 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -1992,12 +1992,10 @@ static int replmd_update_la_val(TALLOC_CTX *mem_ctx, struct ldb_val *v, struct d /* check if any links need upgrading from w2k format - - The parent_ctx is the ldb_message_element which contains the values array - that dns[i].v points at, and which should be used for allocating any new - value. */ -static int replmd_check_upgrade_links(struct parsed_dn *dns, uint32_t count, struct ldb_message_element *parent_ctx, const struct GUID *invocation_id) +static int replmd_check_upgrade_links(struct parsed_dn *dns, uint32_t count, + struct ldb_message_element *el, + const struct GUID *invocation_id) { uint32_t i; for (i=0; ivalues, dns[i].v, + ret = replmd_update_la_val(el->values, dns[i].v, dns[i].dsdb_dn, dns[i].dsdb_dn, invocation_id, 1, 1, 0, 0, false); if (ret != LDB_SUCCESS) { -- 2.47.2