From: Kurt Zeilenga Date: Thu, 28 Sep 2000 22:25:34 +0000 (+0000) Subject: remove cruft X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1861 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6b80b349fae97bf7c3ffdebdfd5f89eefcc68fc6;p=openldap remove cruft --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index ba37d59ea7..15ff5e9c6e 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -172,7 +172,6 @@ int slap_sasl_init( void ) { #ifdef HAVE_CYRUS_SASL int rc; - sasl_conn_t *server = NULL; static sasl_callback_t server_callbacks[] = { { SASL_CB_LOG, &slap_sasl_log, NULL }, { SASL_CB_LIST_END, NULL, NULL } @@ -208,10 +207,8 @@ int slap_sasl_init( void ) sasl_secprops.max_ssf = INT_MAX; sasl_secprops.maxbufsize = 65536; sasl_secprops.security_flags = SASL_SEC_NOPLAINTEXT|SASL_SEC_NOANONYMOUS; - - sasl_dispose( &server ); - #endif + return 0; }