diff options
author | George Hazan <ghazan@miranda.im> | 2017-05-20 21:07:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-05-20 21:07:04 +0300 |
commit | f81688b2ca172fd4d39f365d26d2a0efa3c613f6 (patch) | |
tree | 04199731bdc5f54685a832ee8a4d902d11bc1c6f /protocols/MSN/src/msn_skypeab.cpp | |
parent | 26e399a134e9c891ad6e8a2f59a0b6216b28169b (diff) |
MSN: crash fix for extra-long auth tokens
Diffstat (limited to 'protocols/MSN/src/msn_skypeab.cpp')
-rw-r--r-- | protocols/MSN/src/msn_skypeab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. #include "stdafx.h"
#include "msn_proto.h"
-#include <m_json.h>
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++) {
|