From 3c16babcce417b4d699f541e4b05a308afb5e871 Mon Sep 17 00:00:00 2001 From: Bruno Jesus <00cpxxx@gmail.com> Date: Wed, 13 May 2015 22:03:53 -0300 Subject: [PATCH] ws2_32/tests: Fix a couple of wrong traces. --- dlls/ws2_32/tests/sock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index d67a47d21f8..6d328e64834 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -3819,7 +3819,7 @@ static void test_select(void) FD_SET_ALL(fdRead); SetLastError(0xdeadbeef); ret = select(0, &readfds, NULL, &exceptfds, &select_timeout); - ok(ret == SOCKET_ERROR, "expected 1, got %d\n", ret); + ok(ret == SOCKET_ERROR, "expected -1, got %d\n", ret); todo_wine ok(GetLastError() == WSAENOTSOCK, "expected 10038, got %d\n", GetLastError()); /* descriptor sets are unchanged */ @@ -3847,7 +3847,7 @@ todo_wine SetLastError(0xdeadbeef); ret = select(0, NULL, NULL, &exceptfds, &select_timeout); todo_wine - ok(ret == SOCKET_ERROR, "expected 1, got %d\n", ret); + ok(ret == SOCKET_ERROR, "expected -1, got %d\n", ret); todo_wine ok(GetLastError() == WSAENOTSOCK, "expected 10038, got %d\n", GetLastError()); WaitForSingleObject (thread_handle, 1000); -- 2.11.4.GIT