diff options
author | Christian Hesse <mail@eworm.de> | 2017-11-28 19:53:25 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-11-28 19:53:25 +0100 |
commit | 8aec49ad9604355d742784b4699cd0ba872bc31d (patch) | |
tree | 281fc57d13ff3413412658ec5ae80e068df2c3d8 /pacredir.c | |
parent | 0e9c18db5a4f4818f273a72723970b4d11d82eeb (diff) | |
download | pacredir-8aec49ad9604355d742784b4699cd0ba872bc31d.tar.gz pacredir-8aec49ad9604355d742784b4699cd0ba872bc31d.tar.zst |
do not return EXIT_FAILURE but goto fail
Diffstat (limited to 'pacredir.c')
-rw-r--r-- | pacredir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -816,7 +816,7 @@ int main(int argc, char ** argv) { if ((mhd = MHD_start_daemon(MHD_USE_THREAD_PER_CONNECTION, PORT_PACREDIR, NULL, NULL, &ahc_echo, NULL, MHD_OPTION_SOCK_ADDR, &address, MHD_OPTION_END)) == NULL) { write_log(stderr, "Could not start daemon on port %d.\n", PORT_PACREDIR); - return EXIT_FAILURE; + goto fail; } /* initialize curl */ |