[Commits] [SCM] claws branch, master, updated. 3.13.2-112-g7c87afd

ticho at claws-mail.org ticho at claws-mail.org
Sat Apr 9 10:59:18 CEST 2016


The branch, master has been updated
       via  7c87afdcbc271211754ce2d097b20d85ff7cc6ba (commit)
      from  5b146e9eaa01a28c51431471bce6ea13a031e8ae (commit)

Summary of changes:
 src/plugins/rssyl/rssyl_cb_menu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 7c87afdcbc271211754ce2d097b20d85ff7cc6ba
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sat Apr 9 10:57:48 2016 +0200

    Fix parsing logic in RSSyl OPML import.
    
    Possibly closes bug #3623.

diff --git a/src/plugins/rssyl/rssyl_cb_menu.c b/src/plugins/rssyl/rssyl_cb_menu.c
index 476d2bc..3abf54d 100644
--- a/src/plugins/rssyl/rssyl_cb_menu.c
+++ b/src/plugins/rssyl/rssyl_cb_menu.c
@@ -365,7 +365,7 @@ void rssyl_import_feed_list_cb(GtkAction *action, gpointer data)
 	/* This needs to be +2, since we will be comparing it to depth of
 	 * <outline> tag in OPML's XML structure. Topmost outlines are under
 	 * <opml> and <body>, hence 2. */
-	ctx->depth = rssyl_folder_depth(item) + 2;
+	ctx->depth = rssyl_folder_depth(item) + 1;
 	ctx->current = NULL;
 	ctx->current = g_slist_append(ctx->current, item);
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list