]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit, leave callback stack alone in compare()
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 29 Nov 2007 23:53:50 +0000 (23:53 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 29 Nov 2007 23:53:50 +0000 (23:53 +0000)
Pop local callback for modify

servers/slapd/overlays/translucent.c

index a525ce45e804a236c93d3634d7f5a49995deb0fe..0ddedb5e1d818a71a972c00eaa82cd95f19a31d2 100644 (file)
@@ -516,6 +516,7 @@ release:
        rc = on->on_info->oi_orig->bi_op_add(op, &nrs);
        if ( op->ora_e == e )
                entry_free( e );
+       op->o_callback = cb.sc_next;
 
        return(rc);
 }
@@ -554,7 +555,6 @@ static int translucent_compare(Operation *op, SlapReply *rs) {
 */
        db = op->o_bd;
        op->o_bd = &ov->db;
-       op->o_callback = NULL;
        rc = ov->db.bd_info->bi_op_compare(op, rs);
        op->o_bd = db;