From: Joseph Sutton Date: Tue, 3 Oct 2023 02:35:27 +0000 (+1300) Subject: s4:kdc: Rename local variable ‘user_info_dc’ to ‘info’ X-Git-Tag: tevent-0.16.0~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d02f37b489f61e3716a3fa6e38343ee5debd6898;p=thirdparty%2Fsamba.git s4:kdc: Rename local variable ‘user_info_dc’ to ‘info’ Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c index b47912a29c3..8fde82b303d 100644 --- a/source4/kdc/pac-glue.c +++ b/source4/kdc/pac-glue.c @@ -1125,7 +1125,7 @@ krb5_error_code samba_kdc_get_user_info_from_db(TALLOC_CTX *mem_ctx, struct auth_user_info_dc **info_out) { NTSTATUS nt_status; - struct auth_user_info_dc *user_info_dc = NULL; + struct auth_user_info_dc *info = NULL; if (entry->info_from_db == NULL) { struct loadparm_context *lp_ctx = entry->kdc_db_ctx->lp_ctx; @@ -1149,14 +1149,14 @@ krb5_error_code samba_kdc_get_user_info_from_db(TALLOC_CTX *mem_ctx, } /* Make a shallow copy of the user_info_dc structure. */ - nt_status = authsam_shallow_copy_user_info_dc(mem_ctx, entry->info_from_db, &user_info_dc); + nt_status = authsam_shallow_copy_user_info_dc(mem_ctx, entry->info_from_db, &info); if (!NT_STATUS_IS_OK(nt_status)) { DBG_ERR("Failed to allocate user_info_dc SIDs: %s\n", nt_errstr(nt_status)); return map_errno_from_nt_status(nt_status); } - *info_out = user_info_dc; + *info_out = info; return 0; }