summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_polling.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-05 13:19:05 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-05 13:19:05 +0000
commit5413f05df37646178533a24f80e0e0238982af36 (patch)
tree48543bbd8a7da65d3b96e6edbffa6666a5241c47 /protocols/SkypeWeb/src/skype_polling.cpp
parentafd403fdba7bed624cfc03d6053bab370f4bf9db (diff)
SkypeWeb: cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12610 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_polling.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_polling.cpp12
1 files changed, 6 insertions, 6 deletions
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