From 0505c64f087e4eb5e1d72375efade6c23dcf92fc Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 9 Apr 2004 11:22:07 +0000 Subject: [PATCH] blind fix to ITS#3069; I assume there's no reason to limit the sessionlog limit to 999 --- servers/slapd/back-bdb/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", -- 2.39.5