From f6be095299733b34749ddbea3a89fc85dd72bf51 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 25 Aug 2005 06:56:09 +0000 Subject: [PATCH] Don't do anything if this is a syncrepl response. --- servers/slapd/overlays/valsort.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5