summaryrefslogtreecommitdiff
path: root/src/sig_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sig_handler.c')
-rw-r--r--src/sig_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sig_handler.c b/src/sig_handler.c
index 7a1ad74..30929e7 100644
--- a/src/sig_handler.c
+++ b/src/sig_handler.c
@@ -120,7 +120,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;