From d662a49ed99a3d2c4ac117b3a3d541e85c92a416 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 27 Jun 2026 23:35:17 +0200 Subject: [PATCH] Fix stripping empty lines --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index f8d3c8e4..2485250b 100644 --- a/src/conf.c +++ b/src/conf.c @@ -249,7 +249,7 @@ config_t *parse_config_line(char *line, const char *fname, int lineno) { eol = line + strlen(line); - while(strchr("\t ", *--eol)) { + while(eol > line && strchr("\t ", *--eol)) { *eol = '\0'; } -- 2.47.3