]> git.sur5r.net Git - openldap/commitdiff
blind fix to ITS#3069; I assume there's no reason to limit the sessionlog limit to 999
authorPierangelo Masarati <ando@openldap.org>
Fri, 9 Apr 2004 11:22:07 +0000 (11:22 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 9 Apr 2004 11:22:07 +0000 (11:22 +0000)
servers/slapd/back-bdb/config.c

index 032472962c87fc958ca386243b2091376ea75623..31164d91c7a1c79d72cb42f5c34d0ac867051cb9 100644 (file)
@@ -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",