From 0ac44dc8689f094799d9df7a83eff82845f2f49f Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 14 Mar 2011 16:54:30 +0000 Subject: [PATCH] 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. --- include/ldap_int_thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ldap_int_thread.h b/include/ldap_int_thread.h index dd7d4db908..fdcc4ad6c3 100644 --- a/include/ldap_int_thread.h +++ b/include/ldap_int_thread.h @@ -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