summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_polling.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-04 20:10:50 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-04 20:10:50 +0000
commitc89e8a054ac888b27065916ffde96af73404228c (patch)
tree5538dfdd531108fb653e107bc6ff54d1aea5a96d /protocols/SkypeWeb/src/skype_polling.cpp
parent817c5f883a658c4abca078df852ad81f6ec7f861 (diff)
SkypeWeb:
- history sync (patch from MikalaiR) - refactored message sending git-svn-id: http://svn.miranda-ng.org/main/trunk@12599 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, 2 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp
index 668359667f..528f9e7d53 100644
--- a/protocols/SkypeWeb/src/skype_polling.cpp
+++ b/protocols/SkypeWeb/src/skype_polling.cpp
@@ -5,13 +5,12 @@
void CSkypeProto::ParsePollData(JSONNODE *data)
{
debugLogA("CSkypeProto::ParsePollData");
- JSONNODE *node, *item = NULL;
+ JSONNODE *node;
node = json_get(data, "eventMessages");
if (node != NULL)
{
- int index, length;
JSONNODE *messages = json_as_array(node);
- for (int i = 0; i < json_size(messages); i++)
+ for (size_t i = 0; i < json_size(messages); i++)
{
JSONNODE *message = json_at(messages, i);
JSONNODE *resType = json_get(message, "resourceType");