]> git.sur5r.net Git - openldap/commitdiff
Don't do anything if this is a syncrepl response.
authorHoward Chu <hyc@openldap.org>
Thu, 25 Aug 2005 06:56:09 +0000 (06:56 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 25 Aug 2005 06:56:09 +0000 (06:56 +0000)
servers/slapd/overlays/valsort.c

index 98290733d6010e7d2864d66a96ef33fb742a8b1e..894345207015833ef4587ef8a27ae3177c5fc5b8 100644 (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;