From: Kurt Zeilenga Date: Mon, 5 Apr 2004 15:40:07 +0000 (+0000) Subject: Further refine last commit X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~150 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44349f4ac6c53cfd706053430ef948678435db27;p=openldap Further refine last commit --- diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 25dfcdf2df..e5046357cb 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 ); - if (rc) ldap_perror( ld, opstr ); + if( rc != LDAP_SUCCESS ) ldap_perror( ld, opstr ); return rc; }