summaryrefslogtreecommitdiff
path: root/pthread_getspecific.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_getspecific.c')
-rw-r--r--pthread_getspecific.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pthread_getspecific.c b/pthread_getspecific.c
index c0fc95e..e48fa47 100644
--- a/pthread_getspecific.c
+++ b/pthread_getspecific.c
@@ -63,13 +63,13 @@ pthread_getspecific (pthread_key_t key)
* ------------------------------------------------------
*/
{
- int lasterror = GetLastError();
- int lastWSAerror = WSAGetLastError();
+ int lasterror = GetLastError ();
+ int lastWSAerror = WSAGetLastError ();
void *ptr = TlsGetValue (key->key);
- SetLastError( lasterror );
- WSASetLastError( lastWSAerror );
+ SetLastError (lasterror);
+ WSASetLastError (lastWSAerror);
return ptr;
}