From 773421e8ba17637d994088c393d406226b516a30 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 11 Oct 2013 14:01:25 +0000 Subject: - m_hNetlibUser moved to PROTO_INTERFACE; - unified protocol loggers git-svn-id: http://svn.miranda-ng.org/main/trunk@6435 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/icq_xtraz.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'protocols/IcqOscarJ/src/icq_xtraz.cpp') diff --git a/protocols/IcqOscarJ/src/icq_xtraz.cpp b/protocols/IcqOscarJ/src/icq_xtraz.cpp index 7b3115213d..115fe87984 100644 --- a/protocols/IcqOscarJ/src/icq_xtraz.cpp +++ b/protocols/IcqOscarJ/src/icq_xtraz.cpp @@ -57,8 +57,8 @@ void CIcqProto::handleXtrazNotify(DWORD dwUin, DWORD dwMID, DWORD dwMID2, WORD w szWork = strstrnull(szQuery, ""); szEnd = strstrnull(szQuery, ""); #ifdef _DEBUG - NetLog_Server("Query: %s", szQuery); - NetLog_Server("Notify: %s", szNotify); + debugLogA("Query: %s", szQuery); + debugLogA("Notify: %s", szNotify); #endif if (szWork && szEnd) { // this is our plugin @@ -154,27 +154,27 @@ void CIcqProto::handleXtrazNotify(DWORD dwUin, DWORD dwMID, DWORD dwMID2, WORD w handleRateItem(&rr, RQT_RESPONSE, 0, !bThruDC); } else if (dwXId) - NetLog_Server("Privacy: Ignoring XStatus request"); + debugLogA("Privacy: Ignoring XStatus request"); else - NetLog_Server("Error: We are not in XStatus, skipping"); + debugLogA("Error: We are not in XStatus, skipping"); } else - NetLog_Server("Error: Invalid sender information"); + debugLogA("Error: Invalid sender information"); } else - NetLog_Server("Error: Missing sender information"); + debugLogA("Error: Missing sender information"); } else - NetLog_Server("Error: Unknown plugin \"%s\" in Xtraz message", szWork); + debugLogA("Error: Unknown plugin \"%s\" in Xtraz message", szWork); } else - NetLog_Server("Error: Missing PluginID in Xtraz message"); + debugLogA("Error: Missing PluginID in Xtraz message"); SAFE_FREE(&szNotify); SAFE_FREE(&szQuery); } else - NetLog_Server("Error: Invalid Xtraz Notify message"); + debugLogA("Error: Invalid Xtraz Notify message"); } @@ -184,7 +184,7 @@ void CIcqProto::handleXtrazNotifyResponse(DWORD dwUin, HANDLE hContact, WORD wCo int nResLen; #ifdef _DEBUG - NetLog_Server("Received Xtraz Notify Response"); + debugLogA("Received Xtraz Notify Response"); #endif szRes = strstrnull(szMsg, ""); @@ -200,7 +200,7 @@ void CIcqProto::handleXtrazNotifyResponse(DWORD dwUin, HANDLE hContact, WORD wCo szMem = szRes = DemangleXml(szRes, nResLen); #ifdef _DEBUG - NetLog_Server("Response: %s", szRes); + debugLogA("Response: %s", szRes); #endif ProtoBroadcastAck(hContact, ICQACKTYPE_XTRAZNOTIFY_RESPONSE, ACKRESULT_SUCCESS, (HANDLE)wCookie, (LPARAM)szRes); @@ -228,7 +228,7 @@ NextVal: *szEnd = '\0'; if (atoi(szNode) != getContactXStatus(hContact)) { // this is strange - but go on - NetLog_Server("Warning: XStatusIds do not match!"); + debugLogA("Warning: XStatusIds do not match!"); } *szEnd = ' '; } @@ -277,16 +277,16 @@ NextVal: goto NextVal; } // no next val, we were unable to handle packet, write error - NetLog_Server("Error: Unknown serverId \"%s\" in Xtraz response", szNode); + debugLogA("Error: Unknown serverId \"%s\" in Xtraz response", szNode); } } else - NetLog_Server("Error: Missing serverId in Xtraz response"); + debugLogA("Error: Missing serverId in Xtraz response"); SAFE_FREE(&szMem); } else - NetLog_Server("Error: Invalid Xtraz Notify response"); + debugLogA("Error: Invalid Xtraz Notify response"); } -- cgit v1.2.3