From: Howard Chu Date: Mon, 15 Aug 2005 05:36:56 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~703 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8c20a11293113afb4397ca0790507b3a73512bd3;p=openldap Fix prev commit --- 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;