From: Luke Howard Date: Sun, 16 Jan 2000 01:29:15 +0000 (+0000) Subject: In ldap_pvt_sasl_init() treat subsequent invocations as no-ops, not error. X-Git-Tag: UCDATA_2_4~27 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6a06fb7fba29ea3ccf77cb1155c49056846252d3;p=openldap In ldap_pvt_sasl_init() treat subsequent invocations as no-ops, not error. --- 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 );