X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Ftlsproxy.c;h=b79e05daec86135f8ed470b2f8bee9bf881d1b37;hb=76ad95f5a7601b7e0549a4f4624443287f64a262;hp=3fa03e3b4065f8b67fd8956d0367a031228bca4e;hpb=64bfebde76d568808b6fa8a8d09b4b5afe13dc15;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