Added call to sasl_client_auth() to enforce linking with Cyrus 1.5

(The call is a no-op in Cyrus 1.5 and doesn't exist in 2.1.)
This commit is contained in:
Howard Chu 2002-08-28 08:29:15 +00:00
parent 611541d040
commit 001b7b6927

View File

@ -198,6 +198,8 @@ int slap_sasl_init( void )
if( rc != SASL_OK ) {
Debug( LDAP_DEBUG_ANY, "sasl_server_init failed\n",
0, 0, 0 );
/* A no-op used to make sure we linked with Cyrus 1.5 */
sasl_client_auth(NULL, NULL, NULL, 0, NULL, NULL);
return -1;
}