mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
In ldap_pvt_sasl_init() treat subsequent invocations as no-ops, not error.
This commit is contained in:
parent
80f85e972d
commit
6a06fb7fba
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user