Commit 829bc996 authored by Howard Chu's avatar Howard Chu
Browse files

Fix passing of state info to over_back_response

parent 3fe2cec5
......@@ -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 ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment