2
3
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:
Darryl Pogue
2012-03-04 16:27:07 -08:00
parent 028f8bb6ae
commit 0973bd954a
2 changed files with 6 additions and 6 deletions

View File

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

View File

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