ITS#2827 patch from Masato Taruishi

This commit is contained in:
Howard Chu 2003-11-13 08:22:03 +00:00
parent fb493f5f3a
commit 14ea115209

View file

@ -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,7 +317,11 @@ 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;
goto return_results; if ( i > 0 ) {
break;
} else {
goto return_results;
}
} }
} }