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
84ad10bf
Commit
84ad10bf
authored
Oct 31, 2003
by
Aric Stewart
Committed by
Alexandre Julliard
Oct 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switched a + to a - so that it makes sense when marking the last node
in the Adapters Info linked list.
parent
2b832f11
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
iphlpapi_main.c
dlls/iphlpapi/iphlpapi_main.c
+4
-2
No files found.
dlls/iphlpapi/iphlpapi_main.c
View file @
84ad10bf
...
@@ -571,8 +571,10 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
...
@@ -571,8 +571,10 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
ptr
->
IpAddressList
.
IpAddress
.
String
);
ptr
->
IpAddressList
.
IpAddress
.
String
);
toIPAddressString
(
getInterfaceMaskByIndex
(
table
->
indexes
[
ndx
]),
toIPAddressString
(
getInterfaceMaskByIndex
(
table
->
indexes
[
ndx
]),
ptr
->
IpAddressList
.
IpMask
.
String
);
ptr
->
IpAddressList
.
IpMask
.
String
);
if
(
ndx
<
table
->
numIndexes
+
1
)
if
(
ndx
<
table
->
numIndexes
-
1
)
ptr
->
Next
=
(
ndx
==
table
->
numIndexes
-
1
)
?
NULL
:
&
pAdapterInfo
[
ndx
+
1
];
ptr
->
Next
=
&
pAdapterInfo
[
ndx
+
1
];
else
ptr
->
Next
=
NULL
;
}
}
ret
=
NO_ERROR
;
ret
=
NO_ERROR
;
}
}
...
...
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