diff options
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |
