mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
Switched a + to a - so that it makes sense when marking the last node
in the Adapters Info linked list.
This commit is contained in:
parent
2b832f11a5
commit
84ad10bfcd
@ -571,8 +571,10 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
|
||||
ptr->IpAddressList.IpAddress.String);
|
||||
toIPAddressString(getInterfaceMaskByIndex(table->indexes[ndx]),
|
||||
ptr->IpAddressList.IpMask.String);
|
||||
if (ndx < table->numIndexes + 1)
|
||||
ptr->Next = (ndx == table->numIndexes - 1) ? NULL : &pAdapterInfo[ndx + 1];
|
||||
if (ndx < table->numIndexes - 1)
|
||||
ptr->Next = &pAdapterInfo[ndx + 1];
|
||||
else
|
||||
ptr->Next = NULL;
|
||||
}
|
||||
ret = NO_ERROR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user