From 75beae890b1f18d5753748f4935731ed93579ef8 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 10 May 2015 13:21:25 +0000 Subject: flags fix cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@13506 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_contacts.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_contacts.cpp') diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp index f4f1f87e99..f7c2e9271b 100644 --- a/protocols/SkypeWeb/src/skype_contacts.cpp +++ b/protocols/SkypeWeb/src/skype_contacts.cpp @@ -115,7 +115,7 @@ void CSkypeProto::LoadContactsAuth(const NETLIBHTTPREQUEST *response) if (response == NULL) return; - + JSONROOT root(response->pData); if (root == NULL) return; @@ -147,7 +147,7 @@ void CSkypeProto::LoadContactsAuth(const NETLIBHTTPREQUEST *response) if (lastEventTime == 0 || lastEventTime < eventTime) { - db_set_dw(hContact, m_szModuleName,"LastAuthRequestTime", eventTime); + db_set_dw(hContact, m_szModuleName, "LastAuthRequestTime", eventTime); delSetting(hContact, "Auth"); PROTORECVEVENT pre = { 0 }; @@ -252,7 +252,7 @@ void CSkypeProto::LoadContactList(const NETLIBHTTPREQUEST *response) db_set_b(hContact, "CList", "Hidden", 1); setByte(hContact, "IsBlocked", 1); } - else + else { if (db_get_b(hContact, m_szModuleName, "IsBlocked", 0)) { @@ -318,7 +318,7 @@ INT_PTR CSkypeProto::BlockContact(WPARAM hContact, LPARAM) void CSkypeProto::OnBlockContact(const NETLIBHTTPREQUEST *response, void *p) { MCONTACT hContact = (MCONTACT)p; - if (response == NULL) + if (response == NULL) return; db_set_dw(hContact, "Ignore", "Mask1", 127); db_set_b(hContact, "CList", "Hidden", 1); @@ -333,7 +333,7 @@ INT_PTR CSkypeProto::UnblockContact(WPARAM hContact, LPARAM) void CSkypeProto::OnUnblockContact(const NETLIBHTTPREQUEST *response, void *p) { MCONTACT hContact = (MCONTACT)p; - if (response == NULL) + if (response == NULL) return; db_set_dw(hContact, "Ignore", "Mask1", 0); db_set_b(hContact, "CList", "Hidden", 0); -- cgit v1.2.3