From 5413f05df37646178533a24f80e0e0238982af36 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sun, 5 Apr 2015 13:19:05 +0000 Subject: SkypeWeb: cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@12610 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_polling.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_polling.cpp') diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp index 528f9e7d53..5cd679aa8d 100644 --- a/protocols/SkypeWeb/src/skype_polling.cpp +++ b/protocols/SkypeWeb/src/skype_polling.cpp @@ -43,14 +43,14 @@ void CSkypeProto::ParsePollData(JSONNODE *data) void CSkypeProto::PollingThread(void*) { - debugLog(_T("CSkypeProto::PollingThread: entering")); + debugLogA(__FUNCTION__": entering"); ptrA regToken(getStringA("registrationToken")); - const char *server = getStringA("Server"); + ptrA server(getStringA("Server")); SubscriptionsRequest *request = new SubscriptionsRequest(regToken, server); - request->Send(m_hNetlibUser); - delete request; + request->Send(m_hNetlibUser); + delete request; int errors = 0; bool breaked = false; @@ -81,11 +81,11 @@ void CSkypeProto::PollingThread(void*) } m_hPollingThread = NULL; m_pollingConnection = NULL; - debugLog(_T("CSkypeProto::PollingThread: leaving")); + debugLogA(__FUNCTION__": leaving"); if (!isTerminated) { - debugLog(_T("CSkypeProto::PollingThread: unexpected termination; switching protocol to offline")); + debugLogA(__FUNCTION__": unexpected termination; switching protocol to offline"); SetStatus(ID_STATUS_OFFLINE); } } \ No newline at end of file -- cgit v1.2.3