Use SLAP_MONITOR(be) to check flag

This commit is contained in:
Kurt Zeilenga 2004-04-05 20:24:18 +00:00
parent 6a1dd9a1cd
commit 4122a9dd6a
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ monitor_subsys_database_init(
return( -1 );
}
if ( be->be_flags & SLAP_BFLAG_MONITOR ) {
if ( SLAP_MONITOR(be) ) {
attr_merge( e, slap_schema.si_ad_monitorContext,
be->be_suffix, be->be_nsuffix );
attr_merge( e_database, slap_schema.si_ad_monitorContext,

View File

@ -124,7 +124,7 @@ root_dse_info(
/* no suffix! */
continue;
}
if ( backends[i].be_flags & SLAP_BFLAG_MONITOR ) {
if ( SLAP_MONITOR( backends[i].be_flags )) {
vals[0] = backends[i].be_suffix[0];
nvals[0] = backends[i].be_nsuffix[0];
if( attr_merge( e, ad_monitorContext, vals, nvals ) ) {