]> git.sur5r.net Git - openldap/commitdiff
fix bitwise test (ITS#5445)
authorPierangelo Masarati <ando@openldap.org>
Mon, 31 Mar 2008 16:58:03 +0000 (16:58 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 31 Mar 2008 16:58:03 +0000 (16:58 +0000)
servers/slapd/overlays/syncprov.c

index 66c870325b0af7ae0ae7cdd93bb7b57bdf588e0c..e0437de3ea917f1036e9b5b9296bc43611c33e17 100644 (file)
@@ -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;