summaryrefslogtreecommitdiff
path: root/pthread_setspecific.c
diff options
context:
space:
mode:
authorrpj <rpj>2007-11-22 14:14:57 +0000
committerrpj <rpj>2007-11-22 14:14:57 +0000
commit25ffdcfc06e8a84497fd7e80aa4cef111d7dad2d (patch)
treee1a03422251b1556d6770458edf71a5475f7cf36 /pthread_setspecific.c
parentb1dc8324d03053ffb427424c8de046863757d8ec (diff)
''
Diffstat (limited to 'pthread_setspecific.c')
-rw-r--r--pthread_setspecific.c14
1 files changed, 7 insertions, 7 deletions
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);