wsock32: Assign to struct instead of using memcpy.

This commit is contained in:
Andrew Talbot 2008-03-24 15:45:33 +00:00 committed by Alexandre Julliard
parent a839455bb0
commit 511dd2a8c0

View File

@ -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;
}
}