From: Hallvard Furuseth Date: Mon, 14 Mar 2011 16:54:30 +0000 (+0000) Subject: ITS#6859 Fix NT threads LDAP_INT_MUTEX_FIRSTCREATE(). X-Git-Tag: MIGRATION_CVS2GIT~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0ac44dc8689f094799d9df7a83eff82845f2f49f;p=openldap 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. --- 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