From 285eee890409525a49889c7d579cd16166ffdd8f Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 6 Dec 2010 10:48:29 +0000 Subject: [PATCH] ITS#6625 Invert test in NT threads LDAP_INT_MUTEX_FIRSTCREATE --- 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 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 -- 2.39.5