always complain when custom monitor stuff cannot be registered (ITS#4965)

This commit is contained in:
Pierangelo Masarati 2007-06-09 14:11:16 +00:00
parent 469a45a62f
commit d34473cdba

View file

@ -2140,6 +2140,8 @@ monitor_back_db_open(
" attributes, which must be explicitly requested."),
BER_BVNULL };
int retcode = 0;
assert( be_monitor != NULL );
if ( be != be_monitor ) {
be_monitor = be;
@ -2410,12 +2412,17 @@ monitor_back_db_open(
tmp = el;
el = el->el_next;
ch_free( tmp );
if ( rc != 0 ) {
/* try all, but report error at end */
retcode = 1;
}
}
mi->mi_entry_limbo = NULL;
}
return( 0 );
return retcode;
}
int