mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 21:50:49 -05:00
ITS#5724 use bd_self->be_ctrls
This commit is contained in:
parent
ca07957697
commit
219c97e4a8
1 changed files with 2 additions and 2 deletions
|
|
@ -224,11 +224,11 @@ relay_back_db_open( Backend *be, ConfigReply *cr )
|
|||
}
|
||||
|
||||
/* inherit controls */
|
||||
AC_MEMCPY( be->be_ctrls, ri->ri_bd->be_ctrls, sizeof( be->be_ctrls ) );
|
||||
AC_MEMCPY( be->bd_self->be_ctrls, ri->ri_bd->be_ctrls, sizeof( be->be_ctrls ) );
|
||||
|
||||
} else {
|
||||
/* inherit all? */
|
||||
AC_MEMCPY( be->be_ctrls, frontendDB->be_ctrls, sizeof( be->be_ctrls ) );
|
||||
AC_MEMCPY( be->bd_self->be_ctrls, frontendDB->be_ctrls, sizeof( be->be_ctrls ) );
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue