From: Rein Tollevik Date: Sat, 4 Apr 2009 20:09:43 +0000 (+0000) Subject: Fixed previous again, using o_bd->bd_self is safer. X-Git-Tag: ACLCHECK_0~644 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4901d77f94ad94a3edf5cadadfc0297378f9afd1;p=openldap Fixed previous again, using o_bd->bd_self is safer. --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index fa5f87ad4d..849c0bb3ff 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -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 );