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 45e6cf6..9bbb6cf 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->ssl_verify_peer = GETVAL_INT("ssl_verify_peer");
 
                debug_print("RSSyl: old feeds.xml: Adding '%s' (%s).\n", of->name,
                                of->url);
index b52cd86..b4349eb 100644 (file)
@@ -11,6 +11,7 @@ struct _OldRFeed {
        gint fetch_comments;
        gint fetch_comments_for;
        gint silent_update;
+       gint ssl_verify_peer;
 };
 
 typedef struct _OldRFeed OldRFeed;
index 571eada..2b577dd 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;
+                       ritem->ssl_verify_peer = of->ssl_verify_peer;
                }
 
                rssyl_update_format_move_contents(item, new_item);