From 093b28ac398ffdc2733bc6f42fa58d2153576ad9 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 9 Dec 2011 20:48:39 +0100 Subject: 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 --- src/args.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/args.c') diff --git a/src/args.c b/src/args.c index d4209bf..04dd690 100644 --- a/src/args.c +++ b/src/args.c @@ -910,7 +910,7 @@ parse_args (int argc, char **argv) io_check_file (path_apts, NULL); io_check_file (path_conf, NULL); io_load_app (); - custom_load_conf (); /* To get output date format. */ + config_load (); /* To get output date format. */ if (dflag) date_arg (ddate, add_line, fmt_apt, fmt_rapt, fmt_ev, fmt_rev, preg); @@ -926,7 +926,7 @@ parse_args (int argc, char **argv) io_check_file (path_apts, NULL); io_check_file (path_conf, NULL); vars_init (); - custom_load_conf (); /* To get output date format. */ + config_load (); /* To get output date format. */ io_load_app (); day.dd = day.mm = day.yyyy = 0; app_arg (add_line, &day, 0, fmt_apt, fmt_rapt, fmt_ev, fmt_rev, -- cgit v1.2.3-54-g00ecf