]> git.sur5r.net Git - openldap/commitdiff
Removed #if 0 code block
authorTed C. Cheng <tedcheng@symas.com>
Thu, 24 Jan 2013 15:12:43 +0000 (07:12 -0800)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 24 Jan 2013 18:53:56 +0000 (10:53 -0800)
servers/slapd/config.c

index 9c7f00db0c5c5a3ec3965d0bb782f6821afaa558..117c3e489aae07ac64adb1069cdcf75357243e27 100644 (file)
@@ -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 );