diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-18 07:05:03 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-18 07:05:03 +0000 |
commit | 52741a247b2f01c0495f2527e0939755d3348fc3 (patch) | |
tree | 7061b63893f33f59f9775acc694b543606546cdf /protocols/SkypeWeb/src/skype_polling.cpp | |
parent | 67c3941db8a7ea1965dbed909f33380200f04090 (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.cpp | 5 |
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);
|