summaryrefslogtreecommitdiff
path: root/src/dmon.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-12-09 20:48:39 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2011-12-09 20:54:20 +0100
commit093b28ac398ffdc2733bc6f42fa58d2153576ad9 (patch)
treedf01b2cf12579376fea9b84a8f0e0ccba1f708e8 /src/dmon.c
parentef716e4a9267008061f1e6469182a4daaec1c05f (diff)
downloadcalcurse-093b28ac398ffdc2733bc6f42fa58d2153576ad9.zip
Extract config file handlers into a separate file
We used custom_load_conf() to load the configuration file and io_save_conf() to save configuration. Move these functions, including all helpers, to a central location. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/dmon.c')
-rw-r--r--src/dmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dmon.c b/src/dmon.c
index 9dc893e..903897d 100644
--- a/src/dmon.c
+++ b/src/dmon.c
@@ -163,7 +163,7 @@ dmon_start (int parent_exit_status)
if (!io_file_exist (path_conf))
DMON_ABRT (_("Could not access \"%s\": %s\n"),
path_conf, strerror (errno));
- custom_load_conf ();
+ config_load ();
if (!io_file_exist (path_apts))
DMON_ABRT (_("Could not access \"%s\": %s\n"),