From 49504c16d212cfb99ef886298e6dd1077e334544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Wed, 3 Jun 2020 10:57:43 +0100 Subject: [PATCH] Fix whitespace in ppolicy.c --- servers/slapd/overlays/ppolicy.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index 3e982cd5ef..4d83078729 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -865,14 +865,14 @@ ppolicy_get( Operation *op, Entry *e, PassPolicy *pp ) } if ((a = attr_find( pe->e_attrs, ad_pwdLockout ))) - pp->pwdLockout = bvmatch( &a->a_nvals[0], &slap_true_bv ); + pp->pwdLockout = bvmatch( &a->a_nvals[0], &slap_true_bv ); if ((a = attr_find( pe->e_attrs, ad_pwdMustChange ))) - pp->pwdMustChange = bvmatch( &a->a_nvals[0], &slap_true_bv ); + pp->pwdMustChange = bvmatch( &a->a_nvals[0], &slap_true_bv ); if ((a = attr_find( pe->e_attrs, ad_pwdAllowUserChange ))) - pp->pwdAllowUserChange = bvmatch( &a->a_nvals[0], &slap_true_bv ); + pp->pwdAllowUserChange = bvmatch( &a->a_nvals[0], &slap_true_bv ); if ((a = attr_find( pe->e_attrs, ad_pwdSafeModify ))) - pp->pwdSafeModify = bvmatch( &a->a_nvals[0], &slap_true_bv ); - + pp->pwdSafeModify = bvmatch( &a->a_nvals[0], &slap_true_bv ); + if ( pp->pwdMaxRecordedFailure < pp->pwdMaxFailure ) pp->pwdMaxRecordedFailure = pp->pwdMaxFailure; if ( !pp->pwdMaxRecordedFailure )