summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_polling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_polling.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_polling.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp
index 49fc26fe2b..fc9ea70532 100644
--- a/protocols/SkypeWeb/src/skype_polling.cpp
+++ b/protocols/SkypeWeb/src/skype_polling.cpp
@@ -31,12 +31,9 @@ void CSkypeProto::PollingThread(void*)
PollRequest *request = new PollRequest(this);
while ((nErrors < POLLING_ERRORS_LIMIT) && m_iStatus != ID_STATUS_OFFLINE) {
- request->nlc = m_pollingConnection;
NLHR_PTR response(request->Send(m_hNetlibUser));
-
- if (response == NULL) {
+ if (response == nullptr) {
nErrors++;
- m_pollingConnection = nullptr;
continue;
}
@@ -55,7 +52,6 @@ void CSkypeProto::PollingThread(void*)
break;
}
}
- m_pollingConnection = response->nlc;
}
delete request;
@@ -65,7 +61,6 @@ void CSkypeProto::PollingThread(void*)
}
}
m_hPollingThread = nullptr;
- m_pollingConnection = nullptr;
debugLogA(__FUNCTION__ ": leaving");
}