Don't forget the ssl_verify_peer pref when migrating
authorColin Leroy <colin@colino.net>
Thu, 12 Jun 2014 14:35:20 +0000 (16:35 +0200)
committerAndrej Kacian <andrej@kacian.sk>
Tue, 17 Jun 2014 12:24:01 +0000 (14:24 +0200)
src/plugins/rssyl/old_feeds.c
src/plugins/rssyl/old_feeds.h
src/plugins/rssyl/rssyl_update_format.c

index 45e6cf6357747da187e77003598243888a2b6ac8..9bbb6cfff9a42a12009578b0d76e499a495ab8b2 100644 (file)
@@ -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->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);
 
                debug_print("RSSyl: old feeds.xml: Adding '%s' (%s).\n", of->name,
                                of->url);
index b52cd869b216e6d587187c7a2b07e31714d29123..b4349eb7ab503f56f87d9a62d421b8e7c622da4c 100644 (file)
@@ -11,6 +11,7 @@ struct _OldRFeed {
        gint fetch_comments;
        gint fetch_comments_for;
        gint silent_update;
        gint fetch_comments;
        gint fetch_comments_for;
        gint silent_update;
+       gint ssl_verify_peer;
 };
 
 typedef struct _OldRFeed OldRFeed;
 };
 
 typedef struct _OldRFeed OldRFeed;
index 571eadaa98a148a951fdfeab331fc87df150b43e..2b577dded9df4af4cc7c72a78998b05498a2bc91 100644 (file)
@@ -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;
                                (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);
                }
 
                rssyl_update_format_move_contents(item, new_item);