diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-04-01 00:57:49 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-04-01 00:57:49 +0200 |
commit | 6279bf321ee17d9aff27843dfc78b601df8cbd35 (patch) | |
tree | b48e0fb349e51e23e4384f878c1da08cbe7e7711 | |
parent | f4cfa079c74b2dfdf99ffa987fecf23b2f0f4f14 (diff) |
sfeed_curses: small code-style change
-rw-r--r-- | sfeed_curses.c | 10 |
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, |