mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
fix previous commit (was causing failure of test028)
This commit is contained in:
parent
42b425bc44
commit
90b46ed931
1 changed files with 3 additions and 3 deletions
|
|
@ -212,8 +212,8 @@ main( int argc, char *argv[] )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( verbose || ( rc != LDAP_SUCCESS ) || matcheddn || text || refs ) {
|
if( verbose || ( code != LDAP_SUCCESS ) || matcheddn || text || refs ) {
|
||||||
printf( _("Result: %s (%d)\n"), ldap_err2string( rc ), rc );
|
printf( _("Result: %s (%d)\n"), ldap_err2string( code ), code );
|
||||||
|
|
||||||
if( text && *text ) {
|
if( text && *text ) {
|
||||||
printf( _("Additional info: %s\n"), text );
|
printf( _("Additional info: %s\n"), text );
|
||||||
|
|
@ -242,5 +242,5 @@ skip:
|
||||||
tool_unbind( ld );
|
tool_unbind( ld );
|
||||||
tool_destroy();
|
tool_destroy();
|
||||||
|
|
||||||
return rc == LDAP_SUCCESS ? EXIT_SUCCESS : EXIT_FAILURE;
|
return code == LDAP_SUCCESS ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue