From 3a7e498f6d87759f00d865518d17ebcf2edc0175 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 12 Nov 2014 15:09:58 +0000 Subject: fix for full encryption mode git-svn-id: http://svn.miranda-ng.org/main/trunk@10970 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewsAggregator/Src/CheckFeed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewsAggregator') diff --git a/plugins/NewsAggregator/Src/CheckFeed.cpp b/plugins/NewsAggregator/Src/CheckFeed.cpp index 2afb64576f..723c380a45 100644 --- a/plugins/NewsAggregator/Src/CheckFeed.cpp +++ b/plugins/NewsAggregator/Src/CheckFeed.cpp @@ -140,7 +140,7 @@ static void XmlToMsg(MCONTACT hContact, CMString &title, CMString &link, CMStrin if (olddbei.timestamp < stamp) break; - if (olddbei.cbBlob == cbOrigLen + 1 && !lstrcmpA((char*)olddbei.pBlob, pszTemp)) { + if (strlen((char*)olddbei.pBlob) == cbOrigLen && !lstrcmpA((char*)olddbei.pBlob, pszTemp)) { MesExist = true; break; } -- cgit v1.2.3