Module: wine Branch: master Commit: d640d3fa5c0d79fd739cc417ab74811129df9647 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d640d3fa5c0d79fd739cc417ab...
Author: Wolfgang Schwotzer wolfgang.schwotzer@gmx.net Date: Sat Aug 14 11:52:59 2010 +0200
ws2_32/tests: Only log threads which not terminated by themselves.
---
dlls/ws2_32/tests/sock.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index b2a3153..dba26e9 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -938,9 +938,11 @@ static void do_test( test_setup *test ) { for (i = 0; i <= n; i++) { - trace ("terminating thread %08x\n", thread_id[i]); if ( WaitForSingleObject ( thread[i], 0 ) != WAIT_OBJECT_0 ) + { + trace ("terminating thread %08x\n", thread_id[i]); TerminateThread ( thread [i], 0 ); + } } } CloseHandle ( server_ready );