From 54cc3b1f42eba19170e611b0ee0ea464ea4ac604 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 4 Feb 2013 09:47:31 +0100 Subject: [PATCH] dsdb/password_hash: rename variable 'stat' to 'vstat' Signed-off-by: Stefan Metzmacher Reviewed-by: Michael Adam --- source4/dsdb/samdb/ldb_modules/password_hash.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index 6b8cd9cd157..e9c2bca2dc9 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -1876,7 +1876,6 @@ static int check_password_restrictions(struct setup_password_fields_io *io) { struct ldb_context *ldb; int ret; - enum samr_ValidationStatus stat; ldb = ldb_module_get_ctx(io->ac->module); @@ -1973,10 +1972,11 @@ static int check_password_restrictions(struct setup_password_fields_io *io) * It is also in use by "dcesrv_samr_ValidatePassword". */ if (io->n.cleartext_utf8 != NULL) { - stat = samdb_check_password(io->n.cleartext_utf8, - io->ac->status->domain_data.pwdProperties, - io->ac->status->domain_data.minPwdLength); - switch (stat) { + enum samr_ValidationStatus vstat; + vstat = samdb_check_password(io->n.cleartext_utf8, + io->ac->status->domain_data.pwdProperties, + io->ac->status->domain_data.minPwdLength); + switch (vstat) { case SAMR_VALIDATION_STATUS_SUCCESS: /* perfect -> proceed! */ break; -- 2.11.4.GIT