From: Pierangelo Masarati Date: Mon, 31 Mar 2008 16:58:03 +0000 (+0000) Subject: fix bitwise test (ITS#5445) X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8cb162ef446807ae338b7e5783b9d3106d2a1d56;p=openldap fix bitwise test (ITS#5445) --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 66c870325b..e0437de3ea 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -2385,7 +2385,7 @@ syncprov_operational( } if ( !ap ) { - if ( !rs->sr_flags & REP_ENTRY_MODIFIABLE ) { + if ( !(rs->sr_flags & REP_ENTRY_MODIFIABLE) ) { rs->sr_entry = entry_dup( rs->sr_entry ); rs->sr_flags |= REP_ENTRY_MODIFIABLE|REP_ENTRY_MUSTBEFREED;