mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-20 13:53:21 -05:00
ITS#9556 Allow handlers to set result code
This commit is contained in:
parent
9e3184763c
commit
def3a958ec
1 changed files with 2 additions and 2 deletions
|
|
@ -5516,7 +5516,7 @@ config_add_internal( CfBackInfo *cfb, Entry *e, ConfigArgs *ca, SlapReply *rs,
|
|||
}
|
||||
rc = config_parse_add( ct, ca, i );
|
||||
if ( rc ) {
|
||||
rc = LDAP_OTHER;
|
||||
rc = ca->reply.err ? ca->reply.err : LDAP_OTHER;
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
|
@ -5860,7 +5860,7 @@ config_modify_add( ConfigTable *ct, ConfigArgs *ca, AttributeDescription *ad,
|
|||
}
|
||||
rc = config_parse_add( ct, ca, i );
|
||||
if ( rc ) {
|
||||
rc = LDAP_OTHER;
|
||||
rc = ca->reply.err ? ca->reply.err : LDAP_OTHER;
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue