From e3ca60eefe08b253ff436fe16d85b4317c7a2523 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 10 Nov 2018 12:34:47 +0100 Subject: Fix default paths for configuration files Addresses a copy-paste typo introduced in commit 65064ce (Check if the configuration folder exists, 2018-08-25). Signed-off-by: Lukas Fleischer --- src/io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/io.c b/src/io.c index 68e6f73..1adf382 100644 --- a/src/io.c +++ b/src/io.c @@ -178,9 +178,9 @@ void io_init(const char *cfile, const char *datadir, const char *confdir) snprintf(path_dir, BUFSIZ, "%s/" DIR_NAME, home); snprintf(path_conf_dir, BUFSIZ, "%s", conf_home); - snprintf(path_conf, BUFSIZ, "%s/" CONF_PATH_NAME, conf_home); - snprintf(path_keys, BUFSIZ, "%s/" KEYS_PATH_NAME, conf_home); - snprintf(path_hooks, BUFSIZ, "%s/" HOOKS_DIR_NAME, conf_home); + snprintf(path_conf, BUFSIZ, "%s/" CONF_PATH, conf_home); + snprintf(path_keys, BUFSIZ, "%s/" KEYS_PATH, conf_home); + snprintf(path_hooks, BUFSIZ, "%s/" HOOKS_DIR, conf_home); snprintf(path_todo, BUFSIZ, "%s/" TODO_PATH, home); snprintf(path_cpid, BUFSIZ, "%s/" CPID_PATH, home); -- cgit v1.2.3-70-g09d2