1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Fix bugs with plNetAddress.

This allows the patcher to successfully connect to both GateKeeper and
FileSrv.
This commit is contained in:
Darryl Pogue
2012-03-26 19:03:43 -07:00
parent fbc6e33f7d
commit 06a561fc85
7 changed files with 11 additions and 18 deletions

View File

@ -342,7 +342,7 @@ void AsyncAddressLookupAddr (
lookup->param = param;
plString str = address.GetHostString();
lookup->name = str.toUtf16().GetData();
wcsncpy(lookup->name, (const wchar_t*)str.ToUtf16().GetData(), 127);
s_critsect.Enter();
{