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
1fe893a9
Commit
1fe893a9
authored
Mar 25, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi: Use nameless unions.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9ea1134e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
dlls/iphlpapi/Makefile.in
+0
-1
ipstats.c
dlls/iphlpapi/ipstats.c
+6
-6
No files found.
dlls/iphlpapi/Makefile.in
View file @
1fe893a9
...
...
@@ -2,7 +2,6 @@ MODULE = iphlpapi.dll
IMPORTLIB
=
iphlpapi
IMPORTS
=
advapi32
EXTRALIBS
=
$(RESOLV_LIBS)
$(KSTAT_LIBS)
$(PROCSTAT_LIBS)
EXTRADEFS
=
-DWINE_NO_NAMELESS_EXTENSION
C_SRCS
=
\
icmp.c
\
...
...
dlls/iphlpapi/ipstats.c
View file @
1fe893a9
...
...
@@ -2437,7 +2437,7 @@ DWORD build_udp_table( UDP_TABLE_CLASS class, void **tablep, BOOL order, HANDLE
if
(
class
>=
UDP_TABLE_OWNER_MODULE
)
{
row
.
liCreateTimestamp
.
QuadPart
=
0
;
/* FIXME */
row
.
u
.
dwFlags
=
0
;
row
.
dwFlags
=
0
;
memset
(
&
row
.
OwningModuleInfo
,
0
,
sizeof
(
row
.
OwningModuleInfo
)
);
}
if
(
!
(
table
=
append_table_row
(
heap
,
flags
,
table
,
&
table_size
,
&
count
,
&
row
,
row_size
)))
...
...
@@ -2547,8 +2547,8 @@ DWORD build_udp_table( UDP_TABLE_CLASS class, void **tablep, BOOL order, HANDLE
if
(
class
>=
UDP_TABLE_OWNER_MODULE
)
{
row
.
liCreateTimestamp
.
QuadPart
=
0
;
/* FIXME */
row
.
u
.
dwFlags
=
0
;
row
.
u
.
SpecificPortBind
=
!
(
pINData
->
inp_flags
&
INP_ANONPORT
);
row
.
dwFlags
=
0
;
row
.
SpecificPortBind
=
!
(
pINData
->
inp_flags
&
INP_ANONPORT
);
memset
(
&
row
.
OwningModuleInfo
,
0
,
sizeof
(
row
.
OwningModuleInfo
)
);
}
if
(
!
(
table
=
append_table_row
(
heap
,
flags
,
table
,
&
table_size
,
&
count
,
&
row
,
row_size
)))
...
...
@@ -3087,7 +3087,7 @@ DWORD build_udp6_table( UDP_TABLE_CLASS class, void **tablep, BOOL order, HANDLE
if
(
class
>=
UDP_TABLE_OWNER_MODULE
)
{
row
.
liCreateTimestamp
.
QuadPart
=
0
;
/* FIXME */
row
.
u
.
dwFlags
=
0
;
row
.
dwFlags
=
0
;
memset
(
&
row
.
OwningModuleInfo
,
0
,
sizeof
(
row
.
OwningModuleInfo
)
);
}
if
(
!
(
table
=
append_table_row
(
heap
,
flags
,
table
,
&
table_size
,
&
count
,
&
row
,
row_size
)))
...
...
@@ -3185,8 +3185,8 @@ DWORD build_udp6_table( UDP_TABLE_CLASS class, void **tablep, BOOL order, HANDLE
if
(
class
>=
UDP_TABLE_OWNER_MODULE
)
{
row
.
liCreateTimestamp
.
QuadPart
=
0
;
/* FIXME */
row
.
u
.
dwFlags
=
0
;
row
.
u
.
SpecificPortBind
=
!
(
in
->
inp_flags
&
INP_ANONPORT
);
row
.
dwFlags
=
0
;
row
.
SpecificPortBind
=
!
(
in
->
inp_flags
&
INP_ANONPORT
);
memset
(
&
row
.
OwningModuleInfo
,
0
,
sizeof
(
row
.
OwningModuleInfo
)
);
}
if
(
!
(
table
=
append_table_row
(
heap
,
flags
,
table
,
&
table_size
,
&
count
,
&
row
,
row_size
)))
...
...
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