From 6a06fb7fba29ea3ccf77cb1155c49056846252d3 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sun, 16 Jan 2000 01:29:15 +0000 Subject: [PATCH] In ldap_pvt_sasl_init() treat subsequent invocations as no-ops, not error. --- libraries/libldap/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libldap/sasl.c b/libraries/libldap/sasl.c index 030ff976e6..7b8a8ac6cc 100644 --- a/libraries/libldap/sasl.c +++ b/libraries/libldap/sasl.c @@ -407,7 +407,7 @@ int ldap_pvt_sasl_init( void ) static int sasl_initialized = 0; if ( sasl_initialized ) { - return -1; + return 0; } #ifndef CSRIMALLOC sasl_set_alloc( ber_memalloc, ber_memcalloc, ber_memrealloc, ber_memfree ); -- 2.39.5