projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38e0d6
)
Clean up the SIGINT handler.
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 2 Aug 2013 18:50:19 +0000
(20:50 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 2 Aug 2013 18:50:19 +0000
(20:50 +0200)
src/net.c
patch
|
blob
|
history
diff --git
a/src/net.c
b/src/net.c
index 8a63615d658b6321ac1df565dc708be177037f59..794bb73f0e460f400d6d2dccf8eda89f63e97103 100644
(file)
--- 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);