]> git.sur5r.net Git - openldap/commitdiff
ITS#5724 use bd_self->be_ctrls
authorHoward Chu <hyc@openldap.org>
Fri, 20 Feb 2009 00:57:44 +0000 (00:57 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 20 Feb 2009 00:57:44 +0000 (00:57 +0000)
servers/slapd/back-relay/init.c

index 3a3dc69a43b701c1fba509a060f96343746e0f3f..3c8354f026ad9d40081cfcc8d0a1746ea4ac9997 100644 (file)
@@ -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;