Commit 50b390a1 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#7358 fix ITS#7270 patch

commit 8bb9e88d breaks Visual C
(as well as our own coding rules)
parent d6f93aaf
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment