]> git.sur5r.net Git - openldap/commitdiff
ITS#6859 Fix NT threads LDAP_INT_MUTEX_FIRSTCREATE().
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 14 Mar 2011 16:54:30 +0000 (16:54 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 14 Mar 2011 16:54:30 +0000 (16:54 +0000)
s/int_/pvt_/ in call to ldap_int_thread_mutex_init().
Bug introduced in rev 1.33; OpenLDAP 2.4.24.

include/ldap_int_thread.h

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