]> git.sur5r.net Git - openldap/commitdiff
use the replication persistent search identity to check whether a modification must...
authorPierangelo Masarati <ando@openldap.org>
Wed, 12 Mar 2008 22:31:28 +0000 (22:31 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 12 Mar 2008 22:31:28 +0000 (22:31 +0000)
servers/slapd/overlays/syncprov.c

index d6c2156a06833dee3d00eb993bc9b92d5c68e737..3e7c866d21b4efa4540723bc9559f926c5ccd912 100644 (file)
@@ -1214,7 +1214,7 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
                }
 
                /* check if current o_req_dn is in scope and matches filter */
-               if ( fc.fscope && test_filter( op, e, ss->s_op->ors_filter ) ==
+               if ( fc.fscope && test_filter( ss->s_op, e, ss->s_op->ors_filter ) ==
                        LDAP_COMPARE_TRUE ) {
                        if ( saveit ) {
                                sm = op->o_tmpalloc( sizeof(syncmatches), op->o_tmpmemctx );