]> git.sur5r.net Git - openldap/commitdiff
Printout ldap_result() error message (ITS #4812)
authorRalf Haferkamp <ralf@openldap.org>
Tue, 23 Jan 2007 11:05:43 +0000 (11:05 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Tue, 23 Jan 2007 11:05:43 +0000 (11:05 +0000)
clients/tools/ldapmodify.c

index 7841bda126c81b4c9cc2cdfa4473d9abe03351c5..06a636f812b8bb6fe19d31da4d5da91041fe6bd4 100644 (file)
@@ -1262,6 +1262,7 @@ static int process_response(
 
                if ( rc == -1 ) {
                        ldap_get_option( ld, LDAP_OPT_RESULT_CODE, &rc );
+                       tool_perror( "ldap_result", rc, NULL, NULL, NULL, NULL );
                        return rc;
                }