aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.c b/config.c
index 7a746aea..fbeab3e6 100644
--- a/config.c
+++ b/config.c
@@ -2639,6 +2639,9 @@ parse_config_file(FILE *f, struct config *conf, const char *path, bool errors_ar
if (!section_parser(ctx))
error_or_continue();
+
+ /* For next iteration of getline() */
+ errno = 0;
}
if (errno != 0) {