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
45fc31e8
Commit
45fc31e8
authored
Feb 08, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Fix test failures on Win9x/WinMe.
parent
1e9e76e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sock.c
dlls/ws2_32/tests/sock.c
+4
-2
No files found.
dlls/ws2_32/tests/sock.c
View file @
45fc31e8
...
...
@@ -3281,7 +3281,8 @@ static void test_getpeername(void)
ret
=
getpeername
(
sock
,
NULL
,
NULL
);
ok
(
ret
==
SOCKET_ERROR
,
"Expected getpeername to return SOCKET_ERROR, got %d
\n
"
,
ret
);
ok
(
WSAGetLastError
()
==
WSAENOTCONN
,
ok
(
WSAGetLastError
()
==
WSAENOTCONN
||
broken
(
WSAGetLastError
()
==
WSAEFAULT
),
/* Win9x and WinMe */
"Expected WSAGetLastError() to return WSAENOTCONN, got %d
\n
"
,
WSAGetLastError
());
memset
(
&
sa
,
0
,
sizeof
(
sa
));
...
...
@@ -3296,7 +3297,8 @@ static void test_getpeername(void)
ret
=
getpeername
(
sock
,
NULL
,
NULL
);
ok
(
ret
==
SOCKET_ERROR
,
"Expected getpeername to return SOCKET_ERROR, got %d
\n
"
,
ret
);
ok
(
WSAGetLastError
()
==
WSAENOTCONN
,
ok
(
WSAGetLastError
()
==
WSAENOTCONN
||
broken
(
WSAGetLastError
()
==
WSAEFAULT
),
/* Win9x and WinMe */
"Expected WSAGetLastError() to return WSAENOTCONN, got %d
\n
"
,
WSAGetLastError
());
ret
=
connect
(
sock
,
(
struct
sockaddr
*
)
&
sa
,
sizeof
(
sa
));
...
...
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