From a8284822eb59155d142446dab246f9eace3fda1e Mon Sep 17 00:00:00 2001 From: arf20 Date: Mon, 10 Nov 2025 23:59:53 +0100 Subject: aaaa --- config.c | 1 + 1 file changed, 1 insertion(+) (limited to 'config.c') diff --git a/config.c b/config.c index 9faa341..b5b283b 100644 --- a/config.c +++ b/config.c @@ -62,6 +62,7 @@ config_load(const char *conf_path) return -1; } } else if (strcmp(line, "template") == 0) { + value[strlen(value) - 1] = '\0'; tmpl_path = strdup(value); printf("\ttemplate: %s\n", tmpl_path); } else if (strcmp(line, "log") == 0) { -- cgit v1.2.3