mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
cleanup
This commit is contained in:
parent
ec849bd981
commit
a2a9298080
2 changed files with 4 additions and 2 deletions
|
|
@ -477,7 +477,8 @@ slap_discover_feature(
|
|||
return rc;
|
||||
}
|
||||
|
||||
rc = ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION, &version );
|
||||
rc = ldap_set_option( ld, LDAP_OPT_PROTOCOL_VERSION,
|
||||
(const void *)&version );
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
goto done;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -436,7 +436,8 @@ do_syncrep1(
|
|||
}
|
||||
|
||||
op->o_protocol = LDAP_VERSION3;
|
||||
ldap_set_option( si->si_ld, LDAP_OPT_PROTOCOL_VERSION, &op->o_protocol );
|
||||
ldap_set_option( si->si_ld, LDAP_OPT_PROTOCOL_VERSION,
|
||||
(const void *)&op->o_protocol );
|
||||
|
||||
#ifdef HAVE_TLS
|
||||
if ( si->si_check_tls ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue