fix log level modification via slapd-monitor (ITS#4091)

This commit is contained in:
Pierangelo Masarati 2005-10-15 15:43:53 +00:00
parent a16521ed4e
commit 57df4bf9c2

View File

@ -326,7 +326,7 @@ check_constraints( Modification *mod, int *newlevel )
int_2_level[ l ].n.bv_val,
int_2_level[ l ].n.bv_len );
*newlevel |= l;
*newlevel |= int_2_level[ l ].i;
}
return LDAP_SUCCESS;
@ -411,6 +411,7 @@ delete_values( Entry *e, Modification *mod, int *newlevel )
if ( rc ) {
rc = LDAP_NO_SUCH_ATTRIBUTE;
} else {
*newlevel = 0;
rc = LDAP_SUCCESS;