[Commits] [SCM] claws branch, new-rssyl, updated. 3.10.1-16-g0dda1d5

Colin colin at claws-mail.org
Thu Jun 12 16:35:32 CEST 2014


The branch new-rssyl of project "claws" (Claws Mail) has been updated
       via  0dda1d5ada83fcc6f4318e4b9e5c4f48fd406d57 (commit)
      from  c3b559782068f4c4642a8e7d34e3ba8664076106 (commit)


- Log -----------------------------------------------------------------
commit 0dda1d5ada83fcc6f4318e4b9e5c4f48fd406d57
Author: Colin Leroy <colin at colino.net>
Date:   Thu Jun 12 16:35:20 2014 +0200

    Don't forget the ssl_verify_peer pref when migrating

diff --git a/src/plugins/rssyl/old_feeds.c b/src/plugins/rssyl/old_feeds.c
index 45e6cf6..9bbb6cf 100644
--- a/src/plugins/rssyl/old_feeds.c
+++ b/src/plugins/rssyl/old_feeds.c
@@ -58,6 +58,7 @@ static void _elparse_start_oldrssyl(void *data, const gchar *el,
 		of->fetch_comments = GETVAL_INT("fetch_comments");
 		of->fetch_comments_for = GETVAL_INT("fetch_comments_for");
 		of->silent_update = GETVAL_INT("silent_update");
+		of->ssl_verify_peer = GETVAL_INT("ssl_verify_peer");
 
 		debug_print("RSSyl: old feeds.xml: Adding '%s' (%s).\n", of->name,
 				of->url);
diff --git a/src/plugins/rssyl/old_feeds.h b/src/plugins/rssyl/old_feeds.h
index b52cd86..b4349eb 100644
--- a/src/plugins/rssyl/old_feeds.h
+++ b/src/plugins/rssyl/old_feeds.h
@@ -11,6 +11,7 @@ struct _OldRFeed {
 	gint fetch_comments;
 	gint fetch_comments_for;
 	gint silent_update;
+	gint ssl_verify_peer;
 };
 
 typedef struct _OldRFeed OldRFeed;
diff --git a/src/plugins/rssyl/rssyl_update_format.c b/src/plugins/rssyl/rssyl_update_format.c
index 571eada..2b577dd 100644
--- a/src/plugins/rssyl/rssyl_update_format.c
+++ b/src/plugins/rssyl/rssyl_update_format.c
@@ -159,6 +159,7 @@ static void rssyl_update_format_func(FolderItem *item, gpointer data)
 				(of->fetch_comments != 0 ? TRUE : FALSE);
 			ritem->fetch_comments_max_age = of->fetch_comments_for;
 			ritem->silent_update = of->silent_update;
+			ritem->ssl_verify_peer = of->ssl_verify_peer;
 		}
 
 		rssyl_update_format_move_contents(item, new_item);

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

Summary of changes:
 src/plugins/rssyl/old_feeds.c           |    1 +
 src/plugins/rssyl/old_feeds.h           |    1 +
 src/plugins/rssyl/rssyl_update_format.c |    1 +
 3 files changed, 3 insertions(+)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list