Commit 13118c1b authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Cleanup

parent cd64b12d
......@@ -2663,7 +2663,7 @@ static int pcache_db_open2( slap_overinst *on, ConfigReply *cr );
static int
pc_ldadd_cleanup( ConfigArgs *c )
{
slap_overinst *on = c->private;
slap_overinst *on = c->ca_private;
return pcache_db_open2( on, &c->reply );
}
......@@ -2685,7 +2685,7 @@ pc_ldadd( CfEntryInfo *p, Entry *e, ConfigArgs *ca )
ca->cleanup = pc_ldadd_cleanup;
else
cm->defer_db_open = 0;
ca->private = on;
ca->ca_private = on;
return LDAP_SUCCESS;
}
......
......@@ -108,7 +108,7 @@ static ConfigOCs translucentocs[] = {
static int
translucent_ldadd_cleanup( ConfigArgs *ca )
{
slap_overinst *on = ca->private;
slap_overinst *on = ca->ca_private;
translucent_info *ov = on->on_bi.bi_private;
ov->defer_db_open = 0;
......@@ -130,7 +130,7 @@ translucent_ldadd( CfEntryInfo *cei, Entry *e, ConfigArgs *ca )
on = (slap_overinst *)cei->ce_bi;
ov = on->on_bi.bi_private;
ca->be = &ov->db;
ca->private = on;
ca->ca_private = on;
if ( CONFIG_ONLINE_ADD( ca ))
ca->cleanup = translucent_ldadd_cleanup;
else
......
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