From: Pierangelo Masarati Date: Fri, 9 Apr 2004 11:22:07 +0000 (+0000) Subject: blind fix to ITS#3069; I assume there's no reason to limit the sessionlog limit to 999 X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~65 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0505c64f087e4eb5e1d72375efade6c23dcf92fc;p=openldap blind fix to ITS#3069; I assume there's no reason to limit the sessionlog limit to 999 --- diff --git a/servers/slapd/back-bdb/config.c b/servers/slapd/back-bdb/config.c index 032472962c..31164d91c7 100644 --- a/servers/slapd/back-bdb/config.c +++ b/servers/slapd/back-bdb/config.c @@ -202,7 +202,6 @@ bdb_db_config( } se_id = atoi( argv[1] ); - se_size = atoi( argv[2] ); if ( se_id < 0 || se_id > 999 ) { #ifdef NEW_LOGGING @@ -217,7 +216,8 @@ bdb_db_config( return( 1 ); } - if ( se_size < 0 || se_size > 999 ) { + se_size = atoi( argv[2] ); + if ( se_size < 0 ) { #ifdef NEW_LOGGING LDAP_LOG( CONFIG, CRIT, "%s: line %d: session log size %d is negative\n",