Commit a2a92980 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

cleanup

parent ec849bd9
......@@ -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 ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment