summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_polling.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-18 07:05:03 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-18 07:05:03 +0000
commit52741a247b2f01c0495f2527e0939755d3348fc3 (patch)
tree7061b63893f33f59f9775acc694b543606546cdf /protocols/SkypeWeb/src/skype_polling.cpp
parent67c3941db8a7ea1965dbed909f33380200f04090 (diff)
SkypeWeb: Optimizations.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12899 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_polling.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_polling.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp
index 921b2178e2..3ebfa13661 100644
--- a/protocols/SkypeWeb/src/skype_polling.cpp
+++ b/protocols/SkypeWeb/src/skype_polling.cpp
@@ -60,14 +60,11 @@ void CSkypeProto::PollingThread(void*)
{
debugLogA(__FUNCTION__": entering");
- ptrA regToken(getStringA("registrationToken"));
- ptrA server(getStringA("Server"));
-
int errors = 0;
isTerminated = false;
while (!isTerminated && errors < POLLING_ERRORS_LIMIT)
{
- PollRequest *request = new PollRequest(regToken, server);
+ PollRequest *request = new PollRequest(RegToken, Server);
request->nlc = m_pollingConnection;
NETLIBHTTPREQUEST *response = request->Send(m_hNetlibUser);