summaryrefslogtreecommitdiff
path: root/sig_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'sig_handler.c')
-rw-r--r--sig_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sig_handler.c b/sig_handler.c
index 8be2de3..ca2e18f 100644
--- a/sig_handler.c
+++ b/sig_handler.c
@@ -121,7 +121,7 @@ int signal_handle()
int return_value = 0;
int sig;
- for(sig=1; sig < _NSIG; ++sig) {
+ for(sig=1; sig < NSIG; ++sig) {
if(sigismember(&set, sig)) {
switch(sig) {
case SIGINT: log_printf(NOTICE, "SIG-Int caught, exitting"); return_value = 1; break;