From: Howard Chu Date: Thu, 25 Aug 2005 06:56:09 +0000 (+0000) Subject: Don't do anything if this is a syncrepl response. X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~582 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f6be095299733b34749ddbea3a89fc85dd72bf51;p=openldap Don't do anything if this is a syncrepl response. --- diff --git a/servers/slapd/overlays/valsort.c b/servers/slapd/overlays/valsort.c index 98290733d6..8943452070 100644 --- a/servers/slapd/overlays/valsort.c +++ b/servers/slapd/overlays/valsort.c @@ -275,6 +275,9 @@ valsort_response( Operation *op, SlapReply *rs ) /* We only want search responses */ if ( rs->sr_type != REP_SEARCH ) return SLAP_CB_CONTINUE; + /* If this is a syncrepl response, pass thru unmodified */ + if ( op->o_sync > SLAP_CONTROL_IGNORED ) return SLAP_CB_CONTINUE; + on = (slap_overinst *) op->o_bd->bd_info; vi = on->on_bi.bi_private;