From: Howard Chu Date: Fri, 20 Feb 2009 00:57:44 +0000 (+0000) Subject: ITS#5724 use bd_self->be_ctrls X-Git-Tag: ACLCHECK_0~799 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=219c97e4a89778339774f0ab8daeede1021b23f7;p=openldap ITS#5724 use bd_self->be_ctrls --- diff --git a/servers/slapd/back-relay/init.c b/servers/slapd/back-relay/init.c index 3a3dc69a43..3c8354f026 100644 --- a/servers/slapd/back-relay/init.c +++ b/servers/slapd/back-relay/init.c @@ -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;