summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-11-12 15:09:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-11-12 15:09:58 +0000
commit3a7e498f6d87759f00d865518d17ebcf2edc0175 (patch)
treec288d3faaa6dbba175d880f5f843a8aa277baa5d /plugins/NewsAggregator
parent3ffd09cfd4e1c2c6cdb5ba748cffd542a796f436 (diff)
fix for full encryption mode
git-svn-id: http://svn.miranda-ng.org/main/trunk@10970 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewsAggregator')
-rw-r--r--plugins/NewsAggregator/Src/CheckFeed.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}