From 6db90735da9367413f83cadf5a968b1fe5b42296 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Wed, 31 May 2017 17:05:59 +0100 Subject: [PATCH] fix: nntp group selection Any fields of the URL that mutt_account_tourl() doesn't set are set to NULL. NNTP should set the path after the call. --- newsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newsrc.c b/newsrc.c index c944eb490..dfd001853 100644 --- a/newsrc.c +++ b/newsrc.c @@ -514,8 +514,8 @@ void nntp_expand_path(char *line, size_t len, struct Account *acct) { struct CissUrl url; - url.path = safe_strdup(line); mutt_account_tourl(acct, &url); + url.path = safe_strdup(line); url_ciss_tostring(&url, line, len, 0); FREE(&url.path); } -- 2.40.0