From: Howard Chu Date: Thu, 13 Nov 2003 08:22:03 +0000 (+0000) Subject: ITS#2827 patch from Masato Taruishi X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~449 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=14ea115209cf3db6873f7f653d4c65027e8be5dc;p=openldap ITS#2827 patch from Masato Taruishi --- diff --git a/servers/slapd/mods.c b/servers/slapd/mods.c index 1d2d9a800c..f2c7319db5 100644 --- a/servers/slapd/mods.c +++ b/servers/slapd/mods.c @@ -291,7 +291,7 @@ modify_delete_values( snprintf( textbuf, textlen, "%s: matching rule failed", mod->sm_desc->ad_cname.bv_val ); - goto return_results; + break; } if ( match != 0 ) { @@ -317,7 +317,11 @@ modify_delete_values( "modify/delete: %s: no such value", mod->sm_desc->ad_cname.bv_val ); rc = LDAP_NO_SUCH_ATTRIBUTE; - goto return_results; + if ( i > 0 ) { + break; + } else { + goto return_results; + } } }