From f6d2bd88469f7c4d34db399811a254c9d70616a0 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 5 Apr 2004 15:38:50 +0000 Subject: [PATCH] Fix last commit --- clients/tools/ldapmodify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5