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
2c70e08c
Commit
2c70e08c
authored
Jan 24, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32: Fix wrap-around bug in tick count comparison.
parent
e089295f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nbt.c
dlls/netapi32/nbt.c
+1
-1
No files found.
dlls/netapi32/nbt.c
View file @
2c70e08c
...
...
@@ -297,7 +297,7 @@ static UCHAR NetBTWaitForNameResponse(const NetBTAdapter *adapter, SOCKET fd,
if
(
fd
==
INVALID_SOCKET
)
return
NRC_BADDR
;
if
(
!
answerCallback
)
return
NRC_BADDR
;
while
(
!
found
&&
ret
==
NRC_GOODRET
&&
(
now
=
GetTickCount
())
<
waitUntil
)
while
(
!
found
&&
ret
==
NRC_GOODRET
&&
(
int
)((
now
=
GetTickCount
())
-
waitUntil
)
<
0
)
{
DWORD
msToWait
=
waitUntil
-
now
;
struct
fd_set
fds
;
...
...
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