diff -r 4efa6c94ef64 -r defd5403139a win32.c --- a/win32.c Thu Aug 04 18:02:03 2005 +0000 +++ b/win32.c Fri Aug 05 08:24:12 2005 +0000 @@ -1204,16 +1204,12 @@ return hThread != NULL; } -void CloseOTTDThread(void) -{ - if (!CloseHandle(hThread)) DEBUG(misc, 0) ("Failed to close thread?..."); -} - void JoinOTTDThread(void) { if (hThread == NULL) return; WaitForSingleObject(hThread, INFINITE); + if (!CloseHandle(hThread)) DEBUG(misc, 0) ("Failed to close thread handle!"); }