summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/SkypeWeb/src/skype_polling.cpp2
-rw-r--r--protocols/SkypeWeb/src/skype_trouter.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp
index 9de9e4108d..90b4d3b178 100644
--- a/protocols/SkypeWeb/src/skype_polling.cpp
+++ b/protocols/SkypeWeb/src/skype_polling.cpp
@@ -43,6 +43,8 @@ void CSkypeProto::PollingThread(void*)
if (response->resultCode == 200)
{
+ nErrors = 0;
+
if (response->pData)
{
char *pData = mir_strdup(response->pData);
diff --git a/protocols/SkypeWeb/src/skype_trouter.cpp b/protocols/SkypeWeb/src/skype_trouter.cpp
index 8249898e92..faf5e5c600 100644
--- a/protocols/SkypeWeb/src/skype_trouter.cpp
+++ b/protocols/SkypeWeb/src/skype_trouter.cpp
@@ -144,6 +144,8 @@ void CSkypeProto::TRouterThread(void*)
if (response->resultCode == 200)
{
+ errors = 0;
+
if (response->pData)
{
char *json = strstr(response->pData, "{");