[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 22/23] aaaa


MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

From: arf20 <aruizfernandez05@xxxxxxxxx>

---
 config.c | 1 +
 1 file changed, 1 insertion(+)

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) {
-- 
2.47.3


References:
[arfnet2-status PATCH 00/23] First releasearf20 <arf20@xxxxxxxxx>