mirror of
https://github.com/reactos/wine.git
synced 2025-01-19 10:13:01 +00:00
wsock32: Assign to struct instead of using memcpy.
This commit is contained in:
parent
a839455bb0
commit
511dd2a8c0
@ -410,7 +410,7 @@ DWORD WINAPI WsControl(DWORD protocol,
|
||||
TRACE("Found IP info for tei_instance 0x%x:\n", index);
|
||||
TRACE("IP 0x%08x, mask 0x%08x\n", table->table[i].dwAddr,
|
||||
table->table[i].dwMask);
|
||||
memcpy(baseIPInfo, &table->table[i], sizeof(MIB_IPADDRROW));
|
||||
*baseIPInfo = table->table[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user