mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
s/LDAP_SUCCESS/LDAP_OPT_SUCCESS/
This commit is contained in:
parent
8c79e4b7c3
commit
29304f0cee
@ -460,7 +460,9 @@ tool_args( int argc, char **argv )
|
||||
LDAPAPIInfo api;
|
||||
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 );
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user