diff options
author | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-04 15:46:42 +0300 |
---|---|---|
committer | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-04 15:46:42 +0300 |
commit | 9c24e438b689af042672182f6d87f824ef435492 (patch) | |
tree | 9f91c4951bd2e4a799868b0a3369161918045a6e /src/ck.c | |
parent | fa41863b03bbf67a7ad4edad9328b0cdc48e497b (diff) | |
download | ck-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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |