Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a19febc1
Commit
a19febc1
authored
Mar 15, 2015
by
Bruno Jesus
Committed by
Alexandre Julliard
Mar 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Check the OOB mark in the right place.
parent
8042dbac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sock.c
dlls/ws2_32/tests/sock.c
+4
-4
No files found.
dlls/ws2_32/tests/sock.c
View file @
a19febc1
...
...
@@ -612,15 +612,15 @@ static VOID WINAPI oob_server ( server_params *par )
pos
=
test_buffer
(
mem
->
sock
[
0
].
buf
,
gen
->
chunk_size
,
gen
->
n_chunks
);
ok
(
pos
==
-
1
,
"oob_server (%x): test pattern error: %d
\n
"
,
id
,
pos
);
/* check atmark state */
ioctlsocket
(
mem
->
sock
[
0
].
s
,
SIOCATMARK
,
&
atmark
);
ok
(
atmark
==
1
,
"oob_server (%x): unexpectedly at the OOB mark: %i
\n
"
,
id
,
atmark
);
/* Echo data back */
n_sent
=
do_synchronous_send
(
mem
->
sock
[
0
].
s
,
mem
->
sock
[
0
].
buf
,
n_expected
,
0
,
par
->
buflen
);
ok
(
n_sent
==
n_expected
,
"oob_server (%x): sent less data than expected: %d of %d
\n
"
,
id
,
n_sent
,
n_expected
);
/* check atmark state */
ioctlsocket
(
mem
->
sock
[
0
].
s
,
SIOCATMARK
,
&
atmark
);
ok
(
atmark
==
1
,
"oob_server (%x): unexpectedly at the OOB mark: %i
\n
"
,
id
,
atmark
);
/* Receive a part of the out-of-band data and check atmark state */
n_recvd
=
do_synchronous_recv
(
mem
->
sock
[
0
].
s
,
mem
->
sock
[
0
].
buf
,
8
,
0
,
par
->
buflen
);
ok
(
n_recvd
==
8
,
...
...
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