From 0281a1b407d4f8568197e6a6d52165c4ff853e9f Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 1 Mar 2014 11:43:42 +0000 Subject: Jabber: Fixed TCHAR Logging in DebugLog git-svn-id: http://svn.miranda-ng.org/main/trunk@8341 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_iq_handlers.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/JabberG/src/jabber_iq_handlers.cpp') diff --git a/protocols/JabberG/src/jabber_iq_handlers.cpp b/protocols/JabberG/src/jabber_iq_handlers.cpp index da5e389234..10382979fc 100644 --- a/protocols/JabberG/src/jabber_iq_handlers.cpp +++ b/protocols/JabberG/src/jabber_iq_handlers.cpp @@ -519,7 +519,7 @@ BOOL CJabberProto::OnRosterPushRequest(HXML, CJabberIqInfo *pInfo) // invalid JID if (!bRetVal) { - debugLogA(" attempt to hack via roster push from %S", pInfo->GetFrom()); + debugLog(_T(" attempt to hack via roster push from %s"), pInfo->GetFrom()); return TRUE; } } @@ -592,7 +592,7 @@ BOOL CJabberProto::OnRosterPushRequest(HXML, CJabberIqInfo *pInfo) else if (!_tcscmp(str, _T("to"))) item->subscription = SUB_TO; else if (!_tcscmp(str, _T("from"))) item->subscription = SUB_FROM; else item->subscription = SUB_NONE; - debugLogA("Roster push for jid=%S, set subscription to %S", jid, str); + debugLog(_T("Roster push for jid=%s, set subscription to %s"), jid, str); // subscription = remove is to remove from roster list // but we will just set the contact to offline and not actually // remove, so that history will be retained. @@ -669,7 +669,7 @@ BOOL CJabberProto::OnIqRequestOOB(HXML, CJabberIqInfo *pInfo) desc = (TCHAR*)xmlGetText(n); TCHAR *str2; - debugLogA("description = %s", desc); + debugLog(_T("description = %s"), desc); if ((str2 = _tcsrchr(ft->httpPath, '/')) != NULL) str2++; else -- cgit v1.2.3