summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/libgadu/pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/libgadu/pthread.c')
-rw-r--r--protocols/Gadu-Gadu/libgadu/pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/libgadu/pthread.c b/protocols/Gadu-Gadu/libgadu/pthread.c
index 2496bb4964..9a8988a358 100644
--- a/protocols/Gadu-Gadu/libgadu/pthread.c
+++ b/protocols/Gadu-Gadu/libgadu/pthread.c
@@ -44,7 +44,7 @@ int pthread_detach(pthread_t *tid)
/* wait for thread termination */
int pthread_join(pthread_t *tid, void **value_ptr)
{
- if(tid->dwThreadId == GetCurrentThreadId())
+ if (tid->dwThreadId == GetCurrentThreadId())
return 35 /*EDEADLK*/;
WaitForSingleObject(tid->hThread, INFINITE);