]> git.sur5r.net Git - openldap/commitdiff
Fix spurious warning for fasttool keyword when running in Server mode
authorHoward Chu <hyc@openldap.org>
Sun, 25 Jul 2004 19:49:24 +0000 (19:49 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 25 Jul 2004 19:49:24 +0000 (19:49 +0000)
servers/slapd/back-bdb/config.c

index f48e065d4063d61c6a478c5f333d84d5feb137e3..725ad4418da26586fcfc99cc4dd3576ee2527c3f 100644 (file)
@@ -65,8 +65,8 @@ bdb_db_config(
                bdb->bi_dbenv_xflags |= DB_TXN_NOSYNC;
 
        /* slapadd/slapindex logging configuration */
-       } else if ( strcasecmp( argv[0], "fasttool" ) == 0 &&
-               slapMode & SLAP_TOOL_MODE ) {
+       } else if ( strcasecmp( argv[0], "fasttool" ) == 0 ) {
+               if ( slapMode & SLAP_TOOL_MODE )
                bdb->bi_dbenv_xflags |= DB_TXN_NOT_DURABLE;
 
        /* slapindex algorithm tuning */