summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_contacts.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-05-07 17:14:12 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-05-07 17:14:12 +0000
commit9fa85abf24cda9681cbe3ceb1cdb2da50ca05644 (patch)
treefc152026608e88b81577b18c33e750c2fa9bd0a9 /protocols/SkypeWeb/src/skype_contacts.cpp
parent4322e60a76440683afc694c1df0f2ccc8de726c3 (diff)
SkypeWeb: Leaks fix (thx wishmaster)
git-svn-id: http://svn.miranda-ng.org/main/trunk@13477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_contacts.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_contacts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp
index 82f5adece3..72237b51d0 100644
--- a/protocols/SkypeWeb/src/skype_contacts.cpp
+++ b/protocols/SkypeWeb/src/skype_contacts.cpp
@@ -235,7 +235,7 @@ void CSkypeProto::LoadContactList(const NETLIBHTTPREQUEST *response)
setByte(hContact, "Grant", 1);
node = json_get(item, "blocked");
- bool isBlocked = json_as_bool(node);
+ bool isBlocked = (json_as_bool(node) != 0);
if (isBlocked)
{
db_set_dw(hContact, "Ignore", "Mask1", 127);