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
49cdebad
Commit
49cdebad
authored
Mar 06, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Mar 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Avoid kernel32 functions in system APC calls.
kernel32 functions might modify the last error, which should be avoided here.
parent
ecda8fd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
socket.c
dlls/ws2_32/socket.c
+2
-2
No files found.
dlls/ws2_32/socket.c
View file @
49cdebad
...
...
@@ -2079,7 +2079,7 @@ static NTSTATUS WS2_async_accept_recv( void *user, IO_STATUS_BLOCK *iosb,
return
status
;
if
(
wsa
->
user_overlapped
->
hEvent
)
SetEvent
(
wsa
->
user_overlapped
->
hEvent
);
NtSetEvent
(
wsa
->
user_overlapped
->
hEvent
,
NULL
);
if
(
wsa
->
cvalue
)
WS_AddCompletion
(
HANDLE2SOCKET
(
wsa
->
listen_socket
),
wsa
->
cvalue
,
iosb
->
u
.
Status
,
iosb
->
Information
);
...
...
@@ -2165,7 +2165,7 @@ finish:
iosb
->
Information
=
0
;
if
(
wsa
->
user_overlapped
->
hEvent
)
SetEvent
(
wsa
->
user_overlapped
->
hEvent
);
NtSetEvent
(
wsa
->
user_overlapped
->
hEvent
,
NULL
);
if
(
wsa
->
read
)
release_async_io
(
&
wsa
->
read
->
io
);
release_async_io
(
&
wsa
->
io
);
...
...
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