version 1.64.2.9, 2010/12/12 01:47:28
|
version 1.64.2.10, 2011/01/03 22:00:15
|
Line 422 ldap_sasl_interactive_bind_s(
|
Line 422 ldap_sasl_interactive_bind_s(
|
int rc; |
int rc; |
char *smechs = NULL; |
char *smechs = NULL; |
|
|
#if defined( LDAP_R_COMPILE ) && defined( HAVE_CYRUS_SASL ) |
#if defined( HAVE_CYRUS_SASL ) |
ldap_pvt_thread_mutex_lock( &ldap_int_sasl_mutex ); |
LDAP_MUTEX_LOCK( &ldap_int_sasl_mutex ); |
#endif |
#endif |
#ifdef LDAP_CONNECTIONLESS |
#ifdef LDAP_CONNECTIONLESS |
if( LDAP_IS_UDP(ld) ) { |
if( LDAP_IS_UDP(ld) ) { |
Line 466 ldap_sasl_interactive_bind_s(
|
Line 466 ldap_sasl_interactive_bind_s(
|
flags, interact, defaults ); |
flags, interact, defaults ); |
|
|
done: |
done: |
#if defined( LDAP_R_COMPILE ) && defined( HAVE_CYRUS_SASL ) |
#if defined( HAVE_CYRUS_SASL ) |
ldap_pvt_thread_mutex_unlock( &ldap_int_sasl_mutex ); |
LDAP_MUTEX_UNLOCK( &ldap_int_sasl_mutex ); |
#endif |
#endif |
if ( smechs ) LDAP_FREE( smechs ); |
if ( smechs ) LDAP_FREE( smechs ); |
|
|