]> git.sur5r.net Git - openldap/commitdiff
Fixed previous again, using o_bd->bd_self is safer.
authorRein Tollevik <rein@openldap.org>
Sat, 4 Apr 2009 20:09:43 +0000 (20:09 +0000)
committerRein Tollevik <rein@openldap.org>
Sat, 4 Apr 2009 20:09:43 +0000 (20:09 +0000)
servers/slapd/overlays/syncprov.c

index fa5f87ad4d2313900227e6e6d6f87714cb83b939..849c0bb3ff45157cce6a872c64043ad9ee419a7f 100644 (file)
@@ -1252,7 +1252,7 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
                        oh = *op->o_hdr;
                        oh.oh_conn = ss->s_op->o_conn;
                        oh.oh_connid = ss->s_op->o_connid;
-                       op2.o_bd = op->o_bd;
+                       op2.o_bd = op->o_bd->bd_self;
                        op2.o_hdr = &oh;
                        op2.o_extra = op->o_extra;
                        rc = test_filter( &op2, e, ss->s_op->ors_filter );