diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-05 13:53:50 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-05 13:53:50 +0000 |
commit | 7c2b6ea1c3af9aab4c265ddc7ab6a6c2a07be5cc (patch) | |
tree | 8fe2c16fcd96e44d54326fdc8f4b4ac2ea5c42da /protocols/SkypeWeb/src/skype_polling.cpp | |
parent | 5413f05df37646178533a24f80e0e0238982af36 (diff) |
SkypeWeb: cleanup headers (patch from MikalaiR)
git-svn-id: http://svn.miranda-ng.org/main/trunk@12611 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_polling.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_polling.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp index 5cd679aa8d..e963aad83b 100644 --- a/protocols/SkypeWeb/src/skype_polling.cpp +++ b/protocols/SkypeWeb/src/skype_polling.cpp @@ -58,11 +58,12 @@ void CSkypeProto::PollingThread(void*) {
PollRequest *request = new PollRequest(regToken, server);
NETLIBHTTPREQUEST *response = request->Send(m_hNetlibUser);
+ m_pollingConnection = request->nlc;
delete request;
+
if (response != NULL)
{
- m_pollingConnection = response->nlc;
JSONROOT root(response->pData);
if (json_get(root, "errorCode") != NULL)
{
|