From 8c20a11293113afb4397ca0790507b3a73512bd3 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 15 Aug 2005 05:36:56 +0000 Subject: [PATCH] Fix prev commit --- servers/slapd/overlays/syncprov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index a78cfab33f..34273bcf41 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -597,6 +597,7 @@ again: maxcsn.bv_len = si->si_ctxcsn.bv_len; break; case FIND_CSN: + cf.f_av_value = srs->sr_state.ctxcsn; /* Look for exact match the first time */ if ( findcsn_retry ) { cf.f_choice = LDAP_FILTER_EQUALITY; @@ -608,7 +609,6 @@ again: fop.ors_filterstr.bv_len = sprintf( buf, "(entryCSN<=%s)", cf.f_av_value.bv_val ); } - cf.f_av_value = srs->sr_state.ctxcsn; fop.ors_attrsonly = 1; fop.ors_attrs = slap_anlist_no_attrs; fop.ors_slimit = 1; -- 2.39.5