mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
have error match API call
This commit is contained in:
parent
ae47797cc8
commit
73ad5a7217
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ main( int argc, char *argv[] )
|
||||||
rc = ldap_whoami( ld, NULL, NULL, &id );
|
rc = ldap_whoami( ld, NULL, NULL, &id );
|
||||||
|
|
||||||
if( rc != LDAP_SUCCESS ) {
|
if( rc != LDAP_SUCCESS ) {
|
||||||
tool_perror( "ldap_extended_operation", rc, NULL, NULL, NULL, NULL );
|
tool_perror( "ldap_whoami", rc, NULL, NULL, NULL, NULL );
|
||||||
rc = EXIT_FAILURE;
|
rc = EXIT_FAILURE;
|
||||||
goto skip;
|
goto skip;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue