mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix slapMode parens
This commit is contained in:
parent
d2dd3a616c
commit
d38707a952
@ -373,7 +373,7 @@ bdb_db_open( BackendDB *be )
|
|||||||
/* If we're in server mode and time-based checkpointing is enabled,
|
/* If we're in server mode and time-based checkpointing is enabled,
|
||||||
* submit a task to perform periodic checkpoints.
|
* 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 ) {
|
bdb->bi_txn_cp_min ) {
|
||||||
ldap_pvt_thread_mutex_lock( &slapd_rq.rq_mutex );
|
ldap_pvt_thread_mutex_lock( &slapd_rq.rq_mutex );
|
||||||
ldap_pvt_runqueue_insert( &slapd_rq, bdb->bi_txn_cp_min*60,
|
ldap_pvt_runqueue_insert( &slapd_rq, bdb->bi_txn_cp_min*60,
|
||||||
|
Loading…
Reference in New Issue
Block a user