From 44349f4ac6c53cfd706053430ef948678435db27 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 5 Apr 2004 15:40:07 +0000 Subject: [PATCH] Further refine 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 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; } -- 2.39.5