From 2f4737000403cf82d38ac098f77fd071a3f9c027 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Tue, 7 Apr 2015 11:11:17 +0000 Subject: SkypeWeb: Crash fix. git-svn-id: http://svn.miranda-ng.org/main/trunk@12647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_polling.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_polling.cpp') 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); -- cgit v1.2.3