summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_polling.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-07 11:11:17 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-07 11:11:17 +0000
commit2f4737000403cf82d38ac098f77fd071a3f9c027 (patch)
tree8a8b93c2efc5bc14cead3e114908e99df27b0eee /protocols/SkypeWeb/src/skype_polling.cpp
parent22832c36557b1e1b2864b3965ffa0d5a4b9a8c7f (diff)
SkypeWeb: Crash fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_polling.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_polling.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp
index a9d4efd44d..a426848a12 100644
--- a/protocols/SkypeWeb/src/skype_polling.cpp
+++ b/protocols/SkypeWeb/src/skype_polling.cpp
@@ -5,8 +5,7 @@
void CSkypeProto::ParsePollData(JSONNODE *data)
{
debugLogA("CSkypeProto::ParsePollData");
- JSONNODE *node;
- node = json_get(data, "eventMessages");
+ JSONNODE *node = json_get(data, "eventMessages");
if (node != NULL)
{
JSONNODE *messages = json_as_array(node);