From 1b09a70af6096d2f85cadff82f227e4e6850bfda Mon Sep 17 00:00:00 2001 From: gramanas Date: Sat, 27 Oct 2018 01:32:10 +0300 Subject: fix conf init --- src/ck.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ck.c') diff --git a/src/ck.c b/src/ck.c index e0f8a94..6e4248e 100644 --- a/src/ck.c +++ b/src/ck.c @@ -37,9 +37,12 @@ ERRLOG(main); int main(int argc, const char **argv) { - initialize_errlog(argc, argv); UserOpt opt; Conf conf; + + initialize_errlog(argc, argv); + initialize_conf(&conf); + /* get user opt */ if (parse_action(argc, argv, &opt)) { goto error; -- cgit v1.2.3