Commit 511dd2a8 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

wsock32: Assign to struct instead of using memcpy.

parent a839455b
...@@ -410,7 +410,7 @@ DWORD WINAPI WsControl(DWORD protocol, ...@@ -410,7 +410,7 @@ DWORD WINAPI WsControl(DWORD protocol,
TRACE("Found IP info for tei_instance 0x%x:\n", index); TRACE("Found IP info for tei_instance 0x%x:\n", index);
TRACE("IP 0x%08x, mask 0x%08x\n", table->table[i].dwAddr, TRACE("IP 0x%08x, mask 0x%08x\n", table->table[i].dwAddr,
table->table[i].dwMask); table->table[i].dwMask);
memcpy(baseIPInfo, &table->table[i], sizeof(MIB_IPADDRROW)); *baseIPInfo = table->table[i];
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment