From f81688b2ca172fd4d39f365d26d2a0efa3c613f6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 20 May 2017 21:07:04 +0300 Subject: MSN: crash fix for extra-long auth tokens --- protocols/MSN/src/msn_skypeab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/MSN/src/msn_skypeab.cpp') diff --git a/protocols/MSN/src/msn_skypeab.cpp b/protocols/MSN/src/msn_skypeab.cpp index 1a34f71ec0..3f09287e92 100644 --- a/protocols/MSN/src/msn_skypeab.cpp +++ b/protocols/MSN/src/msn_skypeab.cpp @@ -20,7 +20,6 @@ along with this program. If not, see . #include "stdafx.h" #include "msn_proto.h" -#include bool CMsnProto::APISkypeComRequest(NETLIBHTTPREQUEST *nlhr, NETLIBHTTPHEADER *headers) { @@ -74,7 +73,8 @@ bool CMsnProto::MSN_SKYABRefreshClist(void) hHttpsConnection = nlhrReply->nlc; if (nlhrReply->resultCode == 200 && nlhrReply->pData) { JSONROOT root(nlhrReply->pData); - if (root == NULL) return false; + if (root == NULL) + return false; JSONNode *items = json_as_array(root), *item; for (size_t i = 0; i < json_size(items); i++) { -- cgit v1.2.3