From d38707a952b9b5fa865b55f781e0489f3dc7c564 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 12 Apr 2005 10:48:22 +0000 Subject: [PATCH] Fix slapMode parens --- servers/slapd/back-bdb/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5