mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
ITS#2827 patch from Masato Taruishi
This commit is contained in:
parent
fb493f5f3a
commit
14ea115209
1 changed files with 6 additions and 2 deletions
|
|
@ -291,7 +291,7 @@ modify_delete_values(
|
||||||
snprintf( textbuf, textlen,
|
snprintf( textbuf, textlen,
|
||||||
"%s: matching rule failed",
|
"%s: matching rule failed",
|
||||||
mod->sm_desc->ad_cname.bv_val );
|
mod->sm_desc->ad_cname.bv_val );
|
||||||
goto return_results;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( match != 0 ) {
|
if ( match != 0 ) {
|
||||||
|
|
@ -317,9 +317,13 @@ modify_delete_values(
|
||||||
"modify/delete: %s: no such value",
|
"modify/delete: %s: no such value",
|
||||||
mod->sm_desc->ad_cname.bv_val );
|
mod->sm_desc->ad_cname.bv_val );
|
||||||
rc = LDAP_NO_SUCH_ATTRIBUTE;
|
rc = LDAP_NO_SUCH_ATTRIBUTE;
|
||||||
|
if ( i > 0 ) {
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
goto return_results;
|
goto return_results;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* compact array skipping dummies */
|
/* compact array skipping dummies */
|
||||||
for ( k = 0, j = 0; a->a_vals[k].bv_val != NULL; k++ ) {
|
for ( k = 0, j = 0; a->a_vals[k].bv_val != NULL; k++ ) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue