aboutsummaryrefslogtreecommitdiffstats
path: root/src/ck.c
diff options
context:
space:
mode:
authorAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-10-04 15:46:42 +0300
committerAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-10-04 15:46:42 +0300
commit9c24e438b689af042672182f6d87f824ef435492 (patch)
tree9f91c4951bd2e4a799868b0a3369161918045a6e /src/ck.c
parentfa41863b03bbf67a7ad4edad9328b0cdc48e497b (diff)
downloadck-9c24e438b689af042672182f6d87f824ef435492.tar.gz
ck-9c24e438b689af042672182f6d87f824ef435492.tar.bz2
ck-9c24e438b689af042672182f6d87f824ef435492.zip
More error/logs and fix failing test
Diffstat (limited to 'src/ck.c')
-rw-r--r--src/ck.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ck.c b/src/ck.c
index 335d72f..4a0a626 100644
--- a/src/ck.c
+++ b/src/ck.c
@@ -46,6 +46,8 @@ int main(int argc, char *argv[]) {
case APR_ERR:
print_parser_error(&opt);
goto error;
+ case APR_VERSION:
+ goto close;
case APR_OK:
break;
}
@@ -78,6 +80,7 @@ int main(int argc, char *argv[]) {
error:
free_user_opt(&opt);
free_conf(&conf);
+ close:
report_errlog();
return 0;
}