aboutsummaryrefslogtreecommitdiffstats
path: root/src/ck.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-27 01:32:10 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-27 01:32:10 +0300
commit1b09a70af6096d2f85cadff82f227e4e6850bfda (patch)
treecbeb0b413553686668592e780c10de175be1a8dd /src/ck.c
parent401820e28b74e09bffdeaa25fcf6de518487a433 (diff)
downloadck-1b09a70af6096d2f85cadff82f227e4e6850bfda.tar.gz
ck-1b09a70af6096d2f85cadff82f227e4e6850bfda.tar.bz2
ck-1b09a70af6096d2f85cadff82f227e4e6850bfda.zip
fix conf init
Diffstat (limited to 'src/ck.c')
-rw-r--r--src/ck.c5
1 files changed, 4 insertions, 1 deletions
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;