From 450f352ec14a6c053b50cd2016c197d461990d8e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 15 Feb 2009 23:14:25 +0000 Subject: [PATCH] Fix compare op --- servers/slapd/overlays/syncprov.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 08800c1b2b..9457523e51 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -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 ); -- 2.39.5