From 332a84cc65e594093a0509791bc7a595edd850d5 Mon Sep 17 00:00:00 2001 From: Colin Leroy Date: Thu, 12 Jun 2014 16:35:20 +0200 Subject: [PATCH] Don't forget the ssl_verify_peer pref when migrating --- 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(+) diff --git a/src/plugins/rssyl/old_feeds.c b/src/plugins/rssyl/old_feeds.c index 45e6cf635..9bbb6cfff 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 b52cd869b..b4349eb7a 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 571eadaa9..2b577dded 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); -- 2.25.1