[Commits] [SCM] claws branch, master, updated. 3.17.4-11-g814f1179a
ticho at claws-mail.org
ticho at claws-mail.org
Mon Aug 26 17:43:34 CEST 2019
The branch, master has been updated
via 814f1179a1e5c8f3effd3f4bbfc1c36c16f6a894 (commit)
from b223e5d4e8b32132e44ee9f0723128febc9b9d93 (commit)
Summary of changes:
src/plugins/rssyl/rssyl_add_item.c | 4 ++++
1 file changed, 4 insertions(+)
- Log -----------------------------------------------------------------
commit 814f1179a1e5c8f3effd3f4bbfc1c36c16f6a894
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Mon Aug 26 17:42:52 2019 +0200
Fix comparison for RSS feed items without text
diff --git a/src/plugins/rssyl/rssyl_add_item.c b/src/plugins/rssyl/rssyl_add_item.c
index c40c9cd60..d8f28eabc 100644
--- a/src/plugins/rssyl/rssyl_add_item.c
+++ b/src/plugins/rssyl/rssyl_add_item.c
@@ -361,6 +361,10 @@ void rssyl_add_item(RFolderItem *ritem, FeedItem *feed_item)
feed_item->summary = NULL;
}
+ /* If there is still no text, use an empty string for consistency. */
+ if( feed_item_get_text(feed_item) == NULL )
+ feed_item_set_text(feed_item, "");
+
/* Do not add if the item already exists, update if it does exist, but
* has changed. */
dif = rssyl_feed_item_exists(ritem, feed_item, &old_item);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list