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
771abe5a
Commit
771abe5a
authored
Apr 23, 2021
by
Andrey Gusev
Committed by
Alexandre Julliard
Apr 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi: Fix misplaced parentheses.
Signed-off-by:
Andrey Gusev
<
andrey.goosev@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b8962305
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ipstats.c
dlls/iphlpapi/ipstats.c
+5
-5
No files found.
dlls/iphlpapi/ipstats.c
View file @
771abe5a
...
...
@@ -2620,10 +2620,10 @@ static int compare_tcp6_basic_rows(const void *a, const void *b)
const
MIB_TCP6ROW
*
rowB
=
b
;
int
ret
;
if
((
ret
=
memcmp
(
&
rowA
->
LocalAddr
,
&
rowB
->
LocalAddr
,
sizeof
(
rowA
->
LocalAddr
))
!=
0
)
)
return
ret
;
if
((
ret
=
memcmp
(
&
rowA
->
LocalAddr
,
&
rowB
->
LocalAddr
,
sizeof
(
rowA
->
LocalAddr
))
)
!=
0
)
return
ret
;
if
((
ret
=
rowA
->
dwLocalScopeId
-
rowB
->
dwLocalScopeId
)
!=
0
)
return
ret
;
if
((
ret
=
rowA
->
dwLocalPort
-
rowB
->
dwLocalPort
)
!=
0
)
return
ret
;
if
((
ret
=
memcmp
(
&
rowA
->
RemoteAddr
,
&
rowB
->
RemoteAddr
,
sizeof
(
rowA
->
RemoteAddr
))
!=
0
)
)
return
ret
;
if
((
ret
=
memcmp
(
&
rowA
->
RemoteAddr
,
&
rowB
->
RemoteAddr
,
sizeof
(
rowA
->
RemoteAddr
))
)
!=
0
)
return
ret
;
if
((
ret
=
rowA
->
dwRemoteScopeId
-
rowB
->
dwRemoteScopeId
)
!=
0
)
return
ret
;
return
rowA
->
dwRemotePort
-
rowB
->
dwRemotePort
;
}
...
...
@@ -2634,10 +2634,10 @@ static int compare_tcp6_owner_rows(const void *a, const void *b)
const
MIB_TCP6ROW_OWNER_PID
*
rowB
=
b
;
int
ret
;
if
((
ret
=
memcmp
(
&
rowA
->
ucLocalAddr
,
&
rowB
->
ucLocalAddr
,
sizeof
(
rowA
->
ucLocalAddr
))
!=
0
)
)
return
ret
;
if
((
ret
=
memcmp
(
&
rowA
->
ucLocalAddr
,
&
rowB
->
ucLocalAddr
,
sizeof
(
rowA
->
ucLocalAddr
))
)
!=
0
)
return
ret
;
if
((
ret
=
rowA
->
dwLocalScopeId
-
rowB
->
dwLocalScopeId
)
!=
0
)
return
ret
;
if
((
ret
=
rowA
->
dwLocalPort
-
rowB
->
dwLocalPort
)
!=
0
)
return
ret
;
if
((
ret
=
memcmp
(
&
rowA
->
ucRemoteAddr
,
&
rowB
->
ucRemoteAddr
,
sizeof
(
rowA
->
ucRemoteAddr
))
!=
0
)
)
return
ret
;
if
((
ret
=
memcmp
(
&
rowA
->
ucRemoteAddr
,
&
rowB
->
ucRemoteAddr
,
sizeof
(
rowA
->
ucRemoteAddr
))
)
!=
0
)
return
ret
;
if
((
ret
=
rowA
->
dwRemoteScopeId
-
rowB
->
dwRemoteScopeId
)
!=
0
)
return
ret
;
return
rowA
->
dwRemotePort
-
rowB
->
dwRemotePort
;
}
...
...
@@ -2679,7 +2679,7 @@ static int compare_udp6_rows(const void *a, const void *b)
const
MIB_UDP6ROW
*
rowB
=
b
;
int
ret
;
if
((
ret
=
memcmp
(
&
rowA
->
dwLocalAddr
,
&
rowB
->
dwLocalAddr
,
sizeof
(
rowA
->
dwLocalAddr
))
!=
0
)
)
return
ret
;
if
((
ret
=
memcmp
(
&
rowA
->
dwLocalAddr
,
&
rowB
->
dwLocalAddr
,
sizeof
(
rowA
->
dwLocalAddr
))
)
!=
0
)
return
ret
;
if
((
ret
=
rowA
->
dwLocalScopeId
-
rowB
->
dwLocalScopeId
)
!=
0
)
return
ret
;
return
rowA
->
dwLocalPort
-
rowB
->
dwLocalPort
;
}
...
...
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