]> git.sur5r.net Git - openldap/commitdiff
Fix compare op
authorHoward Chu <hyc@openldap.org>
Sun, 15 Feb 2009 23:14:25 +0000 (23:14 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 15 Feb 2009 23:14:25 +0000 (23:14 +0000)
servers/slapd/overlays/syncprov.c

index 08800c1b2bb9106263b9d8d2d8ce2a8ff3abbd54..9457523e51d51dca45bf82c854832318dce8df91 100644 (file)
@@ -1762,6 +1762,7 @@ syncprov_op_compare( Operation *op, SlapReply *rs )
 
                a.a_vals = si->si_ctxcsn;
                a.a_nvals = a.a_vals;
+               a.a_numvals = si->si_numcsns;
 
                rs->sr_err = access_allowed( op, &e, op->oq_compare.rs_ava->aa_desc,
                        &op->oq_compare.rs_ava->aa_value, ACL_COMPARE, NULL );