mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-30 10:29:28 -05:00
Tweak ordered index check in check_vals
This commit is contained in:
parent
18aac0e55e
commit
8e9651a598
1 changed files with 2 additions and 1 deletions
|
|
@ -3558,7 +3558,8 @@ check_vals( ConfigTable *ct, ConfigArgs *ca, void *ptr, int isAttr )
|
|||
}
|
||||
for ( i=0; vals[i].bv_val; i++ ) {
|
||||
ca->line = vals[i].bv_val;
|
||||
if ( ad->ad_type->sat_flags & SLAP_AT_ORDERED_VAL ) {
|
||||
if (( ad->ad_type->sat_flags & SLAP_AT_ORDERED_VAL ) &&
|
||||
ca->line[0] == '{' ) {
|
||||
char *idx = strchr( ca->line, '}' );
|
||||
if ( idx ) ca->line = idx+1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue