summaryrefslogtreecommitdiff
path: root/protocols/Steam/src
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-11-28 21:19:14 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-11-28 21:19:14 +0000
commit6895d635acb37ba42e53ba95ca3eee2ddbbef24d (patch)
treef85a1d97784c4597099864119acb027b9a3f2dba /protocols/Steam/src
parent8ef06acf351fdb6034b6e13670d84bfd79161956 (diff)
Massive code cleanup and fixes for a lot of warnings reported in #837
git-svn-id: http://svn.miranda-ng.org/main/trunk@11136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r--protocols/Steam/src/steam_pooling.cpp8
-rw-r--r--protocols/Steam/src/steam_proto.cpp2
-rw-r--r--protocols/Steam/src/steam_queue.cpp4
3 files changed, 7 insertions, 7 deletions
diff --git a/protocols/Steam/src/steam_pooling.cpp b/protocols/Steam/src/steam_pooling.cpp
index 64d72acb09..164baa9b47 100644
--- a/protocols/Steam/src/steam_pooling.cpp
+++ b/protocols/Steam/src/steam_pooling.cpp
@@ -65,7 +65,7 @@ void CSteamProto::ParsePollData(JSONNODE *data)
if (status != m_iStatus)
{
- debugLogA("CSteamProto::ParsePollData: Change own status to %i", status);
+ debugLog(_T("CSteamProto::ParsePollData: Change own status to %i"), status);
int oldStatus = m_iStatus;
m_iStatus = m_iDesiredStatus = status;
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)oldStatus, m_iStatus);
@@ -170,7 +170,7 @@ void CSteamProto::ParsePollData(JSONNODE *data)
void CSteamProto::PollingThread(void*)
{
- debugLogA("CSteamProto::PollingThread: entering");
+ debugLog(_T("CSteamProto::PollingThread: entering"));
ptrA token(getStringA("TokenSecret"));
ptrA umqId(getStringA("UMQID"));
@@ -235,7 +235,7 @@ void CSteamProto::PollingThread(void*)
else
{
// something wrong
- debugLogA("CSteamProto::PollingThread: %s (%d)", _T2A(error), response->resultCode);
+ debugLog(_T("CSteamProto::PollingThread: %s (%d)"), error, response->resultCode);
// token has expired
if (response->resultCode == HTTP_STATUS_UNAUTHORIZED)
@@ -250,7 +250,7 @@ void CSteamProto::PollingThread(void*)
setDword("MessageID", messageId);
m_hPollingThread = NULL;
- debugLogA("CSteamProto::PollingThread: leaving");
+ debugLog(_T("CSteamProto::PollingThread: leaving"));
if (!isTerminated)
{
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp
index e6a72ca52a..8941a73f74 100644
--- a/protocols/Steam/src/steam_proto.cpp
+++ b/protocols/Steam/src/steam_proto.cpp
@@ -317,7 +317,7 @@ int CSteamProto::SetStatus(int new_status)
if (new_status == m_iDesiredStatus)
return 0;
- debugLogA("CSteamProto::SetStatus: changing status from %i to %i", m_iStatus, new_status);
+ debugLog(_T("CSteamProto::SetStatus: changing status from %i to %i"), m_iStatus, new_status);
int old_status = m_iStatus;
m_iDesiredStatus = new_status;
diff --git a/protocols/Steam/src/steam_queue.cpp b/protocols/Steam/src/steam_queue.cpp
index d500ea708d..b0a7c959d9 100644
--- a/protocols/Steam/src/steam_queue.cpp
+++ b/protocols/Steam/src/steam_queue.cpp
@@ -117,7 +117,7 @@ void CSteamProto::ExecuteRequest(QueueItem *item)
void CSteamProto::QueueThread(void*)
{
- debugLogA("CSteamProto::QueueThread: entering");
+ debugLog(_T("CSteamProto::QueueThread: entering"));
while (!isTerminated)
{
@@ -142,5 +142,5 @@ void CSteamProto::QueueThread(void*)
}
}
- debugLogA("CSteamProto::QueueThread: leaving");
+ debugLog(_T("CSteamProto::QueueThread: leaving"));
} \ No newline at end of file