mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 18:19:52 -05:00
Fix prev commit
This commit is contained in:
parent
f52bb3d2c7
commit
da7a4a0708
1 changed files with 4 additions and 1 deletions
|
|
@ -901,6 +901,9 @@ int slap_mods_check(
|
|||
}
|
||||
}
|
||||
done:
|
||||
if ( i >= 0 )
|
||||
j = ix[i];
|
||||
|
||||
slap_sl_free( ix, ctx );
|
||||
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
|
|
@ -911,7 +914,7 @@ done:
|
|||
assert( i < nvals );
|
||||
snprintf( textbuf, textlen,
|
||||
"%s: value #%d provided more than once",
|
||||
ml->sml_desc->ad_cname.bv_val, ix[i] );
|
||||
ml->sml_desc->ad_cname.bv_val, j );
|
||||
*text = textbuf;
|
||||
return LDAP_TYPE_OR_VALUE_EXISTS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue