diff options
author | rpj <rpj> | 2004-05-17 01:38:02 +0000 |
---|---|---|
committer | rpj <rpj> | 2004-05-17 01:38:02 +0000 |
commit | 771465fed0cf50ee2dd790723245fc091699c324 (patch) | |
tree | d8c18d095a33fe7c4564bd90c5f313bb9e4057dd /pthread_getspecific.c | |
parent | 8b14911744f58cbe3730703f3fcc41cd969fd0f3 (diff) |
re-indentation, bug fixes, hooks for pre-emptive async cancelation
Diffstat (limited to 'pthread_getspecific.c')
-rw-r--r-- | pthread_getspecific.c | 8 |
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; } |