diff --git a/src/WINNT/pthread/pthread.c b/src/WINNT/pthread/pthread.c index 69ba51cdbf..8531e61e0f 100644 --- a/src/WINNT/pthread/pthread.c +++ b/src/WINNT/pthread/pthread.c @@ -1043,8 +1043,8 @@ void *pthread_getspecific(pthread_key_t key) { void *rc = NULL; char **tsd = TlsGetValue(tsd_index); - if (tsd == NULL) - return NULL; + if (tsd == NULL) + return NULL; if ((key > -1) && (key < PTHREAD_KEYS_MAX )) { rc = (void *) *(tsd + key);