From: Hallvard Furuseth Date: Mon, 6 Dec 2010 10:48:29 +0000 (+0000) Subject: ITS#6625 Invert test in NT threads LDAP_INT_MUTEX_FIRSTCREATE X-Git-Tag: MIGRATION_CVS2GIT~376 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=285eee890409525a49889c7d579cd16166ffdd8f;p=openldap ITS#6625 Invert test in NT threads LDAP_INT_MUTEX_FIRSTCREATE --- diff --git a/include/ldap_int_thread.h b/include/ldap_int_thread.h index 531b502eeb..c2c75c758e 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_int_thread_mutex_init(&(m)))) #endif LDAP_END_DECL