summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2022-04-01 00:57:49 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-04-01 00:57:49 +0200
commit6279bf321ee17d9aff27843dfc78b601df8cbd35 (patch)
treeb48e0fb349e51e23e4384f878c1da08cbe7e7711
parentf4cfa079c74b2dfdf99ffa987fecf23b2f0f4f14 (diff)
sfeed_curses: small code-style change
-rw-r--r--sfeed_curses.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfeed_curses.c b/sfeed_curses.c
index 55791f0..52dba93 100644
--- a/sfeed_curses.c
+++ b/sfeed_curses.c
@@ -1569,10 +1569,10 @@ void
sighandler(int signo)
{
switch (signo) {
- case SIGCHLD: sigstate |= SigChld; break;
- case SIGHUP: sigstate |= SigHup; break;
- case SIGINT: sigstate |= SigInt; break;
- case SIGTERM: sigstate |= SigTerm; break;
+ case SIGCHLD: sigstate |= SigChld; break;
+ case SIGHUP: sigstate |= SigHup; break;
+ case SIGINT: sigstate |= SigInt; break;
+ case SIGTERM: sigstate |= SigTerm; break;
case SIGWINCH: sigstate |= SigWinch; break;
}
}
@@ -2324,7 +2324,7 @@ event:
else if (ch == -3 && sigstate == 0)
continue; /* just a time-out, nothing to do */
- /* handle signals, in order of importance */
+ /* handle signals in a particular order */
if (sigstate & SigChld) {
sigstate &= ~SigChld;
/* wait on child processes so they don't become a zombie,