mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
s/LDAP_SUCCESS/LDAP_OPT_SUCCESS/
This commit is contained in:
parent
8c79e4b7c3
commit
29304f0cee
1 changed files with 3 additions and 1 deletions
|
|
@ -460,7 +460,9 @@ tool_args( int argc, char **argv )
|
||||||
LDAPAPIInfo api;
|
LDAPAPIInfo api;
|
||||||
api.ldapai_info_version = LDAP_API_INFO_VERSION;
|
api.ldapai_info_version = LDAP_API_INFO_VERSION;
|
||||||
|
|
||||||
if ( ldap_get_option(NULL, LDAP_OPT_API_INFO, &api) != LDAP_SUCCESS ) {
|
if ( ldap_get_option(NULL, LDAP_OPT_API_INFO, &api)
|
||||||
|
!= LDAP_OPT_SUCCESS )
|
||||||
|
{
|
||||||
fprintf( stderr, "%s: ldap_get_option(API_INFO) failed\n", prog );
|
fprintf( stderr, "%s: ldap_get_option(API_INFO) failed\n", prog );
|
||||||
exit( EXIT_FAILURE );
|
exit( EXIT_FAILURE );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue