commit 332a84cc65e594093a0509791bc7a595edd850d5
parent 9e5668deae60da62525316de59d1f735062f1f79
Author: Colin Leroy <colin@colino.net>
Date: Thu, 12 Jun 2014 16:35:20 +0200
Don't forget the ssl_verify_peer pref when migrating
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git 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
@@ -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
@@ -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);