mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-05-28 04:35:57 -04:00
Report mbe->register_entry() errors
This commit is contained in:
parent
e1d6e21852
commit
d8a99652ff
1 changed files with 2 additions and 2 deletions
|
|
@ -462,6 +462,7 @@ monitor_back_register_entry(
|
|||
unsigned long flags )
|
||||
{
|
||||
monitor_info_t *mi;
|
||||
int rc = 0;
|
||||
|
||||
if ( be_monitor == NULL ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
|
|
@ -484,7 +485,6 @@ monitor_back_register_entry(
|
|||
struct berval pdn = BER_BVNULL;
|
||||
monitor_entry_t *mp = NULL,
|
||||
*mp_parent = NULL;
|
||||
int rc = 0;
|
||||
|
||||
if ( monitor_cache_get( mi, &e->e_nname, &e_parent ) == 0 ) {
|
||||
/* entry exists */
|
||||
|
|
@ -615,7 +615,7 @@ done:;
|
|||
**elpp = el;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return rc;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Reference in a new issue