talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 33d61c77455ab5ccca3e641312a9ef21f8f718e8
parent b003028a9064c08dbd9852c507fa145ee0b85353
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Wed, 28 Aug 2019 22:59:46 +0200

Initialize some missing members in rssyl_item_new()

Among other things, this should fix the occasional
glib runtime warning about removing an invalid GSource.

Diffstat:
Msrc/plugins/rssyl/rssyl.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/plugins/rssyl/rssyl.c b/src/plugins/rssyl/rssyl.c @@ -436,6 +436,7 @@ static FolderItem *rssyl_item_new(Folder *folder) ritem->official_title = NULL; ritem->source_id = NULL; ritem->items = NULL; + ritem->deleted_items = NULL; ritem->keep_old = TRUE; ritem->default_refresh_interval = TRUE; ritem->refresh_interval = atoi(PREF_DEFAULT_REFRESH); @@ -446,6 +447,9 @@ static FolderItem *rssyl_item_new(Folder *folder) ritem->silent_update = 0; ritem->last_update = 0; ritem->ignore_title_rename = FALSE; + ritem->ssl_verify_peer = TRUE; + ritem->feedprop = NULL; + ritem->refresh_id = 0; return (FolderItem *)ritem; }