ITS#5724 use bd_self->be_ctrls

This commit is contained in:
Howard Chu 2009-02-20 00:57:44 +00:00
parent ca07957697
commit 219c97e4a8

View 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;