mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Minor cleanup
This commit is contained in:
parent
62ee62c0b0
commit
b8cf299007
@ -60,7 +60,6 @@ monitor_send_children(
|
||||
if ( e == NULL ) {
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
nonvolatile = 1;
|
||||
|
||||
/* volatile entries */
|
||||
} else {
|
||||
@ -88,6 +87,9 @@ monitor_send_children(
|
||||
for ( monitor_cache_lock( e ); e != NULL; ) {
|
||||
monitor_entry_update( op, rs, e );
|
||||
|
||||
if ( e == e_nonvolatile )
|
||||
nonvolatile = 1;
|
||||
|
||||
mp = ( monitor_entry_t * )e->e_private;
|
||||
e_tmp = mp->mp_next;
|
||||
|
||||
@ -142,9 +144,6 @@ freeout:
|
||||
}
|
||||
|
||||
e = e_tmp;
|
||||
if ( e == e_nonvolatile ) {
|
||||
nonvolatile = 1;
|
||||
}
|
||||
}
|
||||
|
||||
return LDAP_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user