From: Kurt Zeilenga Date: Mon, 5 Apr 2004 15:29:35 +0000 (+0000) Subject: ITS#3057: Forgot to call ldap_perror() X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~152 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=88915d8a8abf315547fe40496ec2e19f4ca53e2d;p=openldap ITS#3057: Forgot to call ldap_perror() --- 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