]> git.sur5r.net Git - openldap/commitdiff
Fix slapMode parens
authorHoward Chu <hyc@openldap.org>
Tue, 12 Apr 2005 10:48:22 +0000 (10:48 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 12 Apr 2005 10:48:22 +0000 (10:48 +0000)
servers/slapd/back-bdb/init.c

index ed0cd9c61302046ccd2446fc846b3b303a0de659..967df296933d1250571eb72c8f442c7b97aacdd5 100644 (file)
@@ -373,7 +373,7 @@ bdb_db_open( BackendDB *be )
        /* If we're in server mode and time-based checkpointing is enabled,
         * submit a task to perform periodic checkpoints.
         */
-       if ( slapMode & SLAP_SERVER_MODE && bdb->bi_txn_cp &&
+       if (( slapMode & SLAP_SERVER_MODE ) && bdb->bi_txn_cp &&
                bdb->bi_txn_cp_min )  {
                ldap_pvt_thread_mutex_lock( &slapd_rq.rq_mutex );
                ldap_pvt_runqueue_insert( &slapd_rq, bdb->bi_txn_cp_min*60,