From 829bc9969daa744ce14b72312c4b9d3375d79904 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 17 Mar 2004 17:59:47 +0000 Subject: [PATCH] Fix passing of state info to over_back_response --- servers/slapd/backover.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/backover.c b/servers/slapd/backover.c index d97225ac47..fed40f1cfd 100644 --- a/servers/slapd/backover.c +++ b/servers/slapd/backover.c @@ -130,7 +130,7 @@ over_db_destroy( static int over_back_response ( Operation *op, SlapReply *rs ) { - slap_overinfo *oi = (slap_overinfo *) op->o_bd->bd_info; + slap_overinfo *oi = op->o_callback->sc_private; slap_overinst *on = oi->oi_list; int rc = SLAP_CB_CONTINUE; BackendDB *be = op->o_bd, db = *op->o_bd; @@ -167,6 +167,7 @@ over_op_func( op->o_bd = &db; cb.sc_next = op->o_callback; + cb.sc_private = oi; op->o_callback = &cb; for (; on; on=on->on_next ) { -- 2.39.5