Commit def3a958 authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#9556 Allow handlers to set result code

parent 9e318476
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment