]> granicus.if.org Git - neomutt/commitdiff
fix config error reporting
authorRichard Russon <rich@flatcap.org>
Fri, 24 Aug 2018 00:33:33 +0000 (01:33 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 27 Aug 2018 09:40:20 +0000 (10:40 +0100)
init.c

diff --git a/init.c b/init.c
index 5d0d1f76618f6345d5d127822afb159582eb47ae..0489f05fc53ab9477d5d3fe019f166ebe16db9a7 100644 (file)
--- a/init.c
+++ b/init.c
@@ -815,7 +815,7 @@ static int source_rc(const char *rcfile_path, struct Buffer *err)
     }
     else
       currentline = linebuf;
-
+    mutt_buffer_reset(err);
     line_rc = mutt_parse_rc_line(currentline, &token, err);
     if (line_rc == -1)
     {