Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c574ab96
Commit
c574ab96
authored
Jun 17, 2012
by
Thomas Faber
Committed by
Alexandre Julliard
Jun 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Add missing parentheses to ok() output.
parent
4dc0ee57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sock.c
dlls/ws2_32/tests/sock.c
+2
-2
No files found.
dlls/ws2_32/tests/sock.c
View file @
c574ab96
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment