mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Fix a stupid mistake with plString usage.
This commit is contained in:
@ -244,7 +244,7 @@ static void NetErrorHandler (ENetProtocol protocol, ENetError error) {
|
||||
}
|
||||
|
||||
plString msg = plString::Format("NetErr: %S: %S", srv, NetErrorToString(error));
|
||||
plStatusLog::AddLineS("patcher.log", msg.cstr());
|
||||
plStatusLog::AddLineS("patcher.log", msg.c_str());
|
||||
|
||||
// Notify GameTap something bad happened.
|
||||
if (!s_patchError) {
|
||||
@ -829,7 +829,7 @@ static void FileSrvIpAddressCallback (
|
||||
|
||||
if (IS_NET_ERROR(result)) {
|
||||
plString msg = plString::Format("FileSrvIpAddressRequest failed: %S", NetErrorToString(result));
|
||||
plStatusLog::AddLineS("patcher.log", msg.cstr());
|
||||
plStatusLog::AddLineS("patcher.log", msg.c_str());
|
||||
|
||||
s_patchError = true;
|
||||
return;
|
||||
|
@ -89,7 +89,7 @@ static wchar_t s_newPatcherFile[MAX_PATH];
|
||||
//============================================================================
|
||||
static void NetErrorHandler (ENetProtocol protocol, ENetError error) {
|
||||
plString msg = plString::Format("NetErr: %S", NetErrorToString(error));
|
||||
plStatusLog::AddLineS("patcher.log", msg.cstr());
|
||||
plStatusLog::AddLineS("patcher.log", msg.c_str());
|
||||
|
||||
if (IS_NET_SUCCESS(s_patchResult))
|
||||
s_patchResult = error;
|
||||
@ -120,7 +120,7 @@ static void DownloadCallback (
|
||||
|
||||
default:
|
||||
plString msg = plString::Format("Error getting patcher file: %S", NetErrorToString(result));
|
||||
plStatusLog::AddLineS("patcher.log", msg.cstr());
|
||||
plStatusLog::AddLineS("patcher.log", msg.c_str());
|
||||
|
||||
if (IS_NET_SUCCESS(s_patchResult))
|
||||
s_patchResult = result;
|
||||
@ -167,7 +167,7 @@ static void ManifestCallback (
|
||||
|
||||
default:
|
||||
plString msg = plString::Format("Error getting patcher manifest: %S", NetErrorToString(result));
|
||||
plStatusLog::AddLineS("patcher.log", msg.cstr());
|
||||
plStatusLog::AddLineS("patcher.log", msg.c_str());
|
||||
|
||||
if (IS_NET_SUCCESS(s_patchResult))
|
||||
s_patchResult = result;
|
||||
@ -219,7 +219,7 @@ static void FileSrvIpAddressCallback (
|
||||
|
||||
if (IS_NET_ERROR(result)) {
|
||||
plString msg = plString::Format("FileSrvIpAddressRequest failed: %S", NetErrorToString(result));
|
||||
plStatusLog::AddLineS("patcher.log", msg.cstr());
|
||||
plStatusLog::AddLineS("patcher.log", msg.c_str());
|
||||
|
||||
s_patchResult = result;
|
||||
s_downloadComplete = true;
|
||||
|
Reference in New Issue
Block a user