Thomas Faber : ws2_32/tests: Add missing parentheses to ok() output.
Alexandre Julliard
julliard at winehq.org
Mon Jun 18 15:00:24 CDT 2012
Module: wine
Branch: master
Commit: c574ab9680f69c9c443c6ec61829621bd1fd8bf8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c574ab9680f69c9c443c6ec61829621bd1fd8bf8
Author: Thomas Faber <thfabba at gmx.de>
Date: Sun Jun 17 15:03:50 2012 +0200
ws2_32/tests: Add missing parentheses to ok() output.
---
dlls/ws2_32/tests/sock.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 2543873..6fa4249 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -1182,14 +1182,14 @@ static void test_set_getsockopt(void)
SetLastError(0xdeadbeef);
err = setsockopt(s, 0xffffffff, SO_RCVTIMEO, (char *) &timeout, size);
ok( (err == SOCKET_ERROR) && (WSAGetLastError() == WSAEINVAL),
- "got %d with %d (expected SOCKET_ERROR with WSAEINVAL\n",
+ "got %d with %d (expected SOCKET_ERROR with WSAEINVAL)\n",
err, WSAGetLastError());
timeout = SOCKTIMEOUT1;
SetLastError(0xdeadbeef);
err = setsockopt(s, 0x00008000, SO_RCVTIMEO, (char *) &timeout, size);
ok( (err == SOCKET_ERROR) && (WSAGetLastError() == WSAEINVAL),
- "got %d with %d (expected SOCKET_ERROR with WSAEINVAL\n",
+ "got %d with %d (expected SOCKET_ERROR with WSAEINVAL)\n",
err, WSAGetLastError());
closesocket(s);
More information about the wine-cvs
mailing list