[Commits] [SCM] claws branch, master, updated. 3.10.1-99-g58a62e0

ticho at claws-mail.org ticho at claws-mail.org
Tue Jun 24 18:40:40 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  58a62e07e425e957a5f3ae53d51e60b3a103fd20 (commit)
      from  fe89b3a7fbcefc21dcf195929c948bd8be603788 (commit)

Summary of changes:
 src/plugins/rssyl/rssyl_add_item.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 58a62e07e425e957a5f3ae53d51e60b3a103fd20
Author: Andrej Kacian <andrej at kacian.sk>
Date:   Tue Jun 24 18:39:53 2014 +0200

    RSSyl: do not use feed item's URL to populate an empty ID, it just confuses the comparing logic

diff --git a/src/plugins/rssyl/rssyl_add_item.c b/src/plugins/rssyl/rssyl_add_item.c
index b058660..54020af 100644
--- a/src/plugins/rssyl/rssyl_add_item.c
+++ b/src/plugins/rssyl/rssyl_add_item.c
@@ -296,12 +296,12 @@ void rssyl_add_item(RFolderItem *ritem, FeedItem *feed_item)
 			feed_item_set_title(feed_item, C_("Empty RSS feed title placeholder", "(empty)"));
 	}
 
-	debug_print(",%s,\n", (feed_item->title ? feed_item->title : "<null>"));
-	debug_print(",%s,\n", (feed_item->sourcetitle ? feed_item->sourcetitle : "<null>"));
+/*
 	if (feed_item_get_id(feed_item) == NULL) {
 		debug_print("RSSyl: item ID empty, using its URL as ID.\n");
 		feed_item_set_id(feed_item, feed_item_get_url(feed_item));
 	}
+*/
 
 	/* If neither item date is set, use date from source (Atom only). */
 	if( feed_item_get_date_modified(feed_item) == -1 &&

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list