mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Get rid of pnUtW32Addr and make IP strings char*s.
IP addresses don't need to be unicode. pnUtAddr is still around until we replace all NetAddress uses with plNetAddress (they are typedef'ed to each other right now).
This commit is contained in:
@ -840,7 +840,9 @@ static void FileSrvIpAddressCallback (
|
||||
plLauncherInfo *info = (plLauncherInfo *) param;
|
||||
|
||||
// Start connecting to the server
|
||||
NetCliFileStartConnect(&addr, 1, true);
|
||||
const char* caddr = hsWStringToString(addr);
|
||||
NetCliFileStartConnect(&caddr, 1, true);
|
||||
delete[] caddr;
|
||||
|
||||
NetCliFileManifestRequest(ThinManifestCallback, info, s_thinmanifest, info->buildId);
|
||||
|
||||
@ -902,7 +904,7 @@ void UruPrepProc (void * param) {
|
||||
s_patchComplete = false;
|
||||
s_patchError = false;
|
||||
|
||||
const wchar_t ** addrs;
|
||||
const char** addrs;
|
||||
unsigned count;
|
||||
|
||||
count = GetGateKeeperSrvHostnames(&addrs);
|
||||
|
Reference in New Issue
Block a user