Commit 15111229 authored by Ted C. Cheng's avatar Ted C. Cheng Committed by Quanah Gibson-Mount
Browse files

Removed #if 0 code block

parent ae74fa10
......@@ -1989,20 +1989,6 @@ slap_client_connect( LDAP **ldp, slap_bindconf *sb )
/* setting network keepalive options */
slap_client_keepalive(ld, &sb->sb_keepalive);
#if 0
if ( sb->sb_keepalive.sk_idle ) {
ldap_set_option( ld, LDAP_OPT_X_KEEPALIVE_IDLE, &sb->sb_keepalive.sk_idle );
}
if ( sb->sb_keepalive.sk_probes ) {
ldap_set_option( ld, LDAP_OPT_X_KEEPALIVE_PROBES, &sb->sb_keepalive.sk_probes );
}
if ( sb->sb_keepalive.sk_interval ) {
ldap_set_option( ld, LDAP_OPT_X_KEEPALIVE_INTERVAL, &sb->sb_keepalive.sk_interval );
}
#endif /* 0 */
#ifdef HAVE_TLS
if ( sb->sb_tls_do_init ) {
rc = bindconf_tls_set( sb, ld );
......
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