From: Kurt Zeilenga Date: Mon, 5 Apr 2004 15:38:50 +0000 (+0000) Subject: Fix last commit X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~151 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f6d2bd88469f7c4d34db399811a254c9d70616a0;p=openldap Fix last commit --- diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 105d92cb1b..25dfcdf2df 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -1129,7 +1129,7 @@ static int process_response( if( ldap_msgtype( res ) != LDAP_RES_INTERMEDIATE ) { rc = ldap_result2error( ld, res, 1 ); - ldap_perror( ld, opstr ); + if (rc) ldap_perror( ld, opstr ); return rc; }