mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
Fix some return codes
This commit is contained in:
parent
be99e9e758
commit
0ec5e2df77
2 changed files with 3 additions and 0 deletions
|
|
@ -3313,6 +3313,7 @@ config_modify_internal( CfEntryInfo *ce, Operation *op, SlapReply *rs,
|
|||
ca->valx = -1;
|
||||
ca->line = NULL;
|
||||
rc = config_del_vals( ct, ca );
|
||||
if ( rc ) rc = LDAP_OTHER;
|
||||
}
|
||||
if ( ml->sml_values ) {
|
||||
ch_free( dels );
|
||||
|
|
|
|||
|
|
@ -485,6 +485,8 @@ config_parse_vals(ConfigTable *ct, ConfigArgs *c, int valx)
|
|||
} else {
|
||||
rc = config_check_vals( ct, c, 1 );
|
||||
}
|
||||
if ( rc )
|
||||
rc = LDAP_CONSTRAINT_VIOLATION;
|
||||
|
||||
ch_free( c->tline );
|
||||
return rc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue