mirror of
https://github.com/reactos/wine.git
synced 2025-02-12 15:38:29 +00:00
Fix incorrect calculation of transport_addr.
This commit is contained in:
parent
28c2ea07ce
commit
f92bbe6c65
@ -189,7 +189,7 @@ static BOOL WkstaEnumAdaptersCallback(UCHAR totalLANAs, UCHAR lanaIndex,
|
||||
transport_addr = (LPWSTR)(*(enumData->pbuf) +
|
||||
totalLANAs * (sizeof(WKSTA_TRANSPORT_INFO_0) +
|
||||
MAX_TRANSPORT_NAME * sizeof(WCHAR)) +
|
||||
(enumData->n_read + MAX_TRANSPORT_ADDR) * sizeof(WCHAR));
|
||||
enumData->n_read * MAX_TRANSPORT_ADDR * sizeof(WCHAR));
|
||||
|
||||
ifRow.dwIndex = data->ifIndex;
|
||||
GetIfEntry(&ifRow);
|
||||
|
Loading…
x
Reference in New Issue
Block a user