From 25ffdcfc06e8a84497fd7e80aa4cef111d7dad2d Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 22 Nov 2007 14:14:57 +0000 Subject: '' --- pthread_setspecific.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'pthread_setspecific.c') diff --git a/pthread_setspecific.c b/pthread_setspecific.c index f06b696..b16270e 100644 --- a/pthread_setspecific.c +++ b/pthread_setspecific.c @@ -155,13 +155,13 @@ pthread_setspecific (pthread_key_t key, const void *value) (void) pthread_mutex_unlock(&(key->keyLock)); } - if (result == 0) - { - if (!TlsSetValue (key->key, (LPVOID) value)) - { - result = EAGAIN; - } - } + if (result == 0) + { + if (!TlsSetValue (key->key, (LPVOID) value)) + { + result = EAGAIN; + } + } } return (result); -- cgit v1.2.3