mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-05-28 04:35:57 -04:00
ITS#7358 fix ITS#7270 patch
commit 8bb9e88d5f breaks Visual C
(as well as our own coding rules)
This commit is contained in:
parent
a787eb641f
commit
68c3cf9795
1 changed files with 2 additions and 2 deletions
|
|
@ -641,8 +641,8 @@ void ldap_int_initialize( struct ldapoptions *gopts, int *dbglvl )
|
|||
#endif
|
||||
|
||||
#if defined(HAVE_TLS) || defined(HAVE_CYRUS_SASL)
|
||||
LDAP_MUTEX_LOCK( &ldap_int_hostname_mutex );
|
||||
{
|
||||
LDAP_MUTEX_LOCK( &ldap_int_hostname_mutex );
|
||||
char *name = ldap_int_hostname;
|
||||
|
||||
ldap_int_hostname = ldap_pvt_get_fqdn( name );
|
||||
|
|
@ -650,8 +650,8 @@ void ldap_int_initialize( struct ldapoptions *gopts, int *dbglvl )
|
|||
if ( name != NULL && name != ldap_int_hostname ) {
|
||||
LDAP_FREE( name );
|
||||
}
|
||||
LDAP_MUTEX_UNLOCK( &ldap_int_hostname_mutex );
|
||||
}
|
||||
LDAP_MUTEX_UNLOCK( &ldap_int_hostname_mutex );
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_POLL
|
||||
|
|
|
|||
Loading…
Reference in a new issue