Minor cleanup

This commit is contained in:
Howard Chu 2011-01-12 22:53:43 +00:00
parent 62ee62c0b0
commit b8cf299007

View File

@ -60,8 +60,7 @@ monitor_send_children(
if ( e == NULL ) { if ( e == NULL ) {
return LDAP_SUCCESS; return LDAP_SUCCESS;
} }
nonvolatile = 1;
/* volatile entries */ /* volatile entries */
} else { } else {
/* if no persistent, return only volatile */ /* if no persistent, return only volatile */
@ -88,6 +87,9 @@ monitor_send_children(
for ( monitor_cache_lock( e ); e != NULL; ) { for ( monitor_cache_lock( e ); e != NULL; ) {
monitor_entry_update( op, rs, e ); monitor_entry_update( op, rs, e );
if ( e == e_nonvolatile )
nonvolatile = 1;
mp = ( monitor_entry_t * )e->e_private; mp = ( monitor_entry_t * )e->e_private;
e_tmp = mp->mp_next; e_tmp = mp->mp_next;
@ -142,9 +144,6 @@ freeout:
} }
e = e_tmp; e = e_tmp;
if ( e == e_nonvolatile ) {
nonvolatile = 1;
}
} }
return LDAP_SUCCESS; return LDAP_SUCCESS;