summaryrefslogtreecommitdiffstats
path: root/src/sigs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sigs.c')
-rw-r--r--src/sigs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sigs.c b/src/sigs.c
index f463da5..380a818 100644
--- a/src/sigs.c
+++ b/src/sigs.c
@@ -43,7 +43,7 @@
#include "calcurse.h"
-/*
+/*
* General signal handling routine.
* Catch return values from children (user-defined notification commands).
* This is needed to avoid zombie processes running on system.
@@ -56,7 +56,7 @@ generic_hdlr (int sig)
{
case SIGCHLD:
while (waitpid (WAIT_MYPGRP, NULL, WNOHANG) > 0)
- ;
+ ;
break;
case SIGWINCH:
clearok (curscr, TRUE);
@@ -98,7 +98,7 @@ sigs_init ()
{
if (!sigs_set_hdlr (SIGCHLD, generic_hdlr)
|| !sigs_set_hdlr (SIGWINCH, generic_hdlr)
- || !sigs_set_hdlr (SIGTERM, generic_hdlr)
+ || !sigs_set_hdlr (SIGTERM, generic_hdlr)
|| !sigs_set_hdlr (SIGINT, SIG_IGN))
exit_calcurse (1);
}