From 88915d8a8abf315547fe40496ec2e19f4ca53e2d Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 5 Apr 2004 15:29:35 +0000 Subject: [PATCH] ITS#3057: Forgot to call ldap_perror() --- clients/tools/ldapmodify.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index f71cc86fe9..105d92cb1b 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -1128,7 +1128,9 @@ static int process_response( } if( ldap_msgtype( res ) != LDAP_RES_INTERMEDIATE ) { - return ldap_result2error( ld, res, 1 ); + rc = ldap_result2error( ld, res, 1 ); + ldap_perror( ld, opstr ); + return rc; } #ifdef LDAP_GROUP_TRANSACTION -- 2.39.5