summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_util.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-03-01 11:43:42 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-03-01 11:43:42 +0000
commit0281a1b407d4f8568197e6a6d52165c4ff853e9f (patch)
tree3f64ed4b5f1a5a41c15ed110b3d4219b92b23f4d /protocols/JabberG/src/jabber_util.cpp
parentbf2b6b24b123538b937b31d9fd9244a4742c15b8 (diff)
Jabber: Fixed TCHAR Logging in DebugLog
git-svn-id: http://svn.miranda-ng.org/main/trunk@8341 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_util.cpp')
-rw-r--r--protocols/JabberG/src/jabber_util.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp
index c95147adc8..027d9b0330 100644
--- a/protocols/JabberG/src/jabber_util.cpp
+++ b/protocols/JabberG/src/jabber_util.cpp
@@ -601,33 +601,33 @@ void CJabberProto::SendPresenceTo(int status, const TCHAR* to, HXML extra, const
LIST<TCHAR> arrExtCaps(5);
if (bSecureIM)
- arrExtCaps.insert( _T(JABBER_EXT_SECUREIM));
+ arrExtCaps.insert(JABBER_EXT_SECUREIM);
if (bMirOTR)
- arrExtCaps.insert( _T(JABBER_EXT_MIROTR));
+ arrExtCaps.insert(JABBER_EXT_MIROTR);
if (bNewGPG)
- arrExtCaps.insert( _T(JABBER_EXT_NEWGPG));
+ arrExtCaps.insert(JABBER_EXT_NEWGPG);
if (bPlatform)
- arrExtCaps.insert( _T(JABBER_EXT_PLATFORMX64));
+ arrExtCaps.insert(JABBER_EXT_PLATFORMX64);
else
- arrExtCaps.insert( _T(JABBER_EXT_PLATFORMX86));
+ arrExtCaps.insert(JABBER_EXT_PLATFORMX86);
if (m_options.EnableRemoteControl)
- arrExtCaps.insert( _T(JABBER_EXT_COMMANDS));
+ arrExtCaps.insert(JABBER_EXT_COMMANDS);
if (m_options.EnableUserMood)
- arrExtCaps.insert( _T(JABBER_EXT_USER_MOOD));
+ arrExtCaps.insert(JABBER_EXT_USER_MOOD);
if (m_options.EnableUserTune)
- arrExtCaps.insert( _T(JABBER_EXT_USER_TUNE));
+ arrExtCaps.insert(JABBER_EXT_USER_TUNE);
if (m_options.EnableUserActivity)
- arrExtCaps.insert( _T(JABBER_EXT_USER_ACTIVITY));
+ arrExtCaps.insert(JABBER_EXT_USER_ACTIVITY);
if (m_options.AcceptNotes)
- arrExtCaps.insert( _T(JABBER_EXT_MIR_NOTES));
+ arrExtCaps.insert(JABBER_EXT_MIR_NOTES);
NotifyFastHook(hExtListInit, (WPARAM)&arrExtCaps, (LPARAM)(IJabberInterface*)this);
@@ -1137,7 +1137,7 @@ void __cdecl CJabberProto::LoadHttpAvatars(void* param)
fclose(out);
setString(AI.hContact, "AvatarSaved", buffer);
ProtoBroadcastAck(AI.hContact, ACKTYPE_AVATAR, ACKRESULT_SUCCESS, &AI, 0);
- debugLogA("Broadcast new avatar: %s", AI.filename);
+ debugLog(_T("Broadcast new avatar: %s"), AI.filename);
}
else ProtoBroadcastAck(AI.hContact, ACKTYPE_AVATAR, ACKRESULT_FAILED, &AI, 0);
}