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
fc09bc45
Commit
fc09bc45
authored
Nov 26, 2011
by
Bruno Jesus
Committed by
Alexandre Julliard
Nov 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Remove duplicated code.
parent
743929e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
async.c
dlls/ws2_32/async.c
+4
-4
No files found.
dlls/ws2_32/async.c
View file @
fc09bc45
...
...
@@ -269,10 +269,10 @@ static HANDLE run_query( HWND hWnd, UINT uMsg, LPTHREAD_START_ROUTINE func,
{
static
LONG
next_handle
=
0xdead
;
HANDLE
thread
;
ULONG
handle
=
LOWORD
(
InterlockedIncrement
(
&
next_handle
))
;
/* avoid handle 0 */
while
(
!
handle
)
handle
=
LOWORD
(
InterlockedIncrement
(
&
next_handle
));
ULONG
handle
;
do
handle
=
LOWORD
(
InterlockedIncrement
(
&
next_handle
));
while
(
!
handle
)
;
/* avoid handle 0 */
query
->
hWnd
=
hWnd
;
query
->
uMsg
=
uMsg
;
...
...
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