X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Ftlsproxy.c;h=b79e05daec86135f8ed470b2f8bee9bf881d1b37;hb=f1a626728ee8be94ebb023c6cfb2f68684671450;hp=3fa03e3b4065f8b67fd8956d0367a031228bca4e;hpb=4f17e2a1251d1b460c51fd37f70ea85cd59eb1fa;p=tlsproxy%2Ftlsproxy.git diff --git a/src/tlsproxy.c b/src/tlsproxy.c index 3fa03e3..b79e05d 100644 --- a/src/tlsproxy.c +++ b/src/tlsproxy.c @@ -109,11 +109,11 @@ int main(int argc, char **argv) { return EXIT_FAILURE; } - /* Setup our SIGINT signal handler which allows a "normal" termination of - * the server in DEBUG mode. */ sigemptyset(&action.sa_mask); action.sa_flags = 0; #ifdef DEBUG + /* Setup our SIGINT signal handler which allows a "normal" termination of + * the server in DEBUG mode. */ action.sa_handler = sigint_handler; sigaction(SIGINT, &action, NULL); #endif