From: Pierangelo Masarati Date: Thu, 24 Jun 2010 19:26:22 +0000 (+0000) Subject: return error (ITS#6581) X-Git-Tag: MIGRATION_CVS2GIT~562 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9785c246615d80a68788bbf0bd204d583e0bfa39;p=openldap return error (ITS#6581) --- diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index f8c6394b40..a129cea82a 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -82,12 +82,14 @@ do_modify( if ( rs->sr_err != LDAP_SUCCESS ) { Debug( LDAP_DEBUG_ANY, "%s do_modify: slap_parse_modlist failed err=%d msg=%s\n", op->o_log_prefix, rs->sr_err, rs->sr_text ); + send_ldap_result( op, rs ); goto cleanup; } if( get_ctrls( op, rs, 1 ) != LDAP_SUCCESS ) { Debug( LDAP_DEBUG_ANY, "%s do_modify: get_ctrls failed\n", op->o_log_prefix, 0, 0 ); + send_ldap_result( op, rs ); goto cleanup; }