X-Git-Url: https://ruderich.org/simon/gitweb/?p=tlsproxy%2Ftlsproxy.git;a=blobdiff_plain;f=src%2Ftlsproxy.c;h=ea0578b78bae88673a8c45f9e8cdbc50897ca395;hp=2d2ea1e2cf44f92759a65f58ae33ef0f68e96938;hb=ab61fefa275656266f5f5ed55697c019dccd5fd7;hpb=d3db09b0f3e23158995913029a9c9dfc2f9d83f5 diff --git a/src/tlsproxy.c b/src/tlsproxy.c index 2d2ea1e..ea0578b 100644 --- a/src/tlsproxy.c +++ b/src/tlsproxy.c @@ -107,8 +107,8 @@ int main(int argc, char **argv) { return EXIT_FAILURE; } + memset(&action, 0, sizeof(action)); 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. */