From: Howard Chu Date: Tue, 12 Apr 2005 10:48:22 +0000 (+0000) Subject: Fix slapMode parens X-Git-Tag: OPENLDAP_AC_BP~921 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d38707a952b9b5fa865b55f781e0489f3dc7c564;p=openldap Fix slapMode parens --- diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index ed0cd9c613..967df29693 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -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,