From 1e7d1cd3c72cc478482fb75b15f9f50745b68504 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Fri, 2 Aug 2013 20:50:19 +0200 Subject: [PATCH] Clean up the SIGINT handler. --- src/net.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/net.c b/src/net.c index 8a63615d..794bb73f 100644 --- a/src/net.c +++ b/src/net.c @@ -454,9 +454,10 @@ int main_loop(void) { #ifndef HAVE_MINGW signal_del(&sighup); - signal_del(&sigalrm); - signal_del(&sigquit); signal_del(&sigterm); + signal_del(&sigquit); + signal_del(&sigint); + signal_del(&sigalrm); #endif timeout_del(&periodictimer);