Don't do anything if this is a syncrepl response.

This commit is contained in:
Howard Chu 2005-08-25 06:56:09 +00:00
parent 143a1cdae1
commit f6be095299

View File

@ -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;