]> git.sur5r.net Git - openldap/commitdiff
Fix last commit
authorKurt Zeilenga <kurt@openldap.org>
Mon, 5 Apr 2004 15:38:50 +0000 (15:38 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 5 Apr 2004 15:38:50 +0000 (15:38 +0000)
clients/tools/ldapmodify.c

index 105d92cb1b96ac74a1da4aa8c369c7755789b0fe..25dfcdf2df5ee8bf577bb4af0d074d44697a6459 100644 (file)
@@ -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;
        }