ITS#6859 Fix NT threads LDAP_INT_MUTEX_FIRSTCREATE().

s/int_/pvt_/ in call to ldap_int_thread_mutex_init().
Bug introduced in rev 1.33; OpenLDAP 2.4.24.
This commit is contained in:
Hallvard Furuseth 2011-03-14 16:54:30 +00:00
parent 2399e2536f
commit 0ac44dc868

View File

@ -183,7 +183,7 @@ typedef DWORD ldap_int_thread_key_t;
#ifndef LDAP_INT_MUTEX_NULL #ifndef LDAP_INT_MUTEX_NULL
#define LDAP_INT_MUTEX_NULL ((HANDLE)0) #define LDAP_INT_MUTEX_NULL ((HANDLE)0)
#define LDAP_INT_MUTEX_FIRSTCREATE(m) \ #define LDAP_INT_MUTEX_FIRSTCREATE(m) \
((void) ((m) || ldap_int_thread_mutex_init(&(m)))) ((void) ((m) || ldap_pvt_thread_mutex_init(&(m))))
#endif #endif
LDAP_END_DECL LDAP_END_DECL