From d640d3fa5c0d79fd739cc417ab74811129df9647 Mon Sep 17 00:00:00 2001 From: Wolfgang Schwotzer Date: Sat, 14 Aug 2010 11:52:59 +0200 Subject: [PATCH] ws2_32/tests: Only log threads which not terminated by themselves. --- dlls/ws2_32/tests/sock.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index b2a3153fef1..dba26e94e86 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 );