From 1ece02dc7d242bc238c48b3e7f519a320ece5777 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 1 Sep 2004 00:23:34 +0000 Subject: [PATCH] cleanup --- servers/slapd/config.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 0057cf0b82..b9a3e89553 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -1438,7 +1438,7 @@ restrict_unknown:; } else if ( strcasecmp( cargv[0], "allows" ) == 0 || strcasecmp( cargv[0], "allow" ) == 0 ) { - slap_mask_t allows; + slap_mask_t allows = 0; if ( be != NULL ) { #ifdef NEW_LOGGING @@ -1467,8 +1467,6 @@ restrict_unknown:; return( 1 ); } - allows = 0; - for( i=1; i < cargc; i++ ) { if( strcasecmp( cargv[i], "bind_v2" ) == 0 ) { allows |= SLAP_ALLOW_BIND_V2; -- 2.39.5