]> git.sur5r.net Git - openldap/commitdiff
Import ITS#4812 patch from HEAD, print error from ldap_result()
authorHoward Chu <hyc@openldap.org>
Thu, 25 Jan 2007 12:30:50 +0000 (12:30 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 25 Jan 2007 12:30:50 +0000 (12:30 +0000)
clients/tools/ldapmodify.c

index 1b37df4144a047946ee4e49e3bc57c3ca7f47a06..d30b3edc07d9086ed6623ce70afedc5936b57555 100644 (file)
@@ -1155,6 +1155,7 @@ static int process_response(
 
                if ( rc == -1 ) {
                        ldap_get_option( ld, LDAP_OPT_ERROR_NUMBER, &rc );
+                       tool_perror( "ldap_result", rc, NULL, NULL, NULL, NULL );
                        return rc;
                }