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

[PATCH 21/23] config key typo


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

From: arf20 <aruizfernandez05@xxxxxxxxx>

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

diff --git a/config.c b/config.c
index 1e2cd55..9faa341 100644
--- a/config.c
+++ b/config.c
@@ -61,7 +61,7 @@ config_load(const char *conf_path)
                 fprintf(stderr, "[config] invalid interval: %s\n", line);
                 return -1;
             }
-        } else if (strcmp(line, "interval") == 0) {
+        } else if (strcmp(line, "template") == 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>