Huw Davies <huw@xxxxxxxxxxxxxxx> Fix incorrect calculation of transport_addr -- Huw Davies huw@xxxxxxxxxxxxxxx Index: dlls/netapi32/wksta.c =================================================================== RCS file: /home/wine/wine/dlls/netapi32/wksta.c,v retrieving revision 1.12 diff -u -r1.12 wksta.c --- dlls/netapi32/wksta.c 8 Dec 2003 21:45:44 -0000 1.12 +++ dlls/netapi32/wksta.c 10 Dec 2003 15:31:38 -0000 @@ -189,7 +189,7 @@ 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);