]> git.sur5r.net Git - openldap/commitdiff
ITS#3057: Forgot to call ldap_perror()
authorKurt Zeilenga <kurt@openldap.org>
Mon, 5 Apr 2004 15:29:35 +0000 (15:29 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 5 Apr 2004 15:29:35 +0000 (15:29 +0000)
clients/tools/ldapmodify.c

index f71cc86fe951cca9861dc9dcf0a692eecb311bf6..105d92cb1b96ac74a1da4aa8c369c7755789b0fe 100644 (file)
@@ -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