commit 6279bf321ee17d9aff27843dfc78b601df8cbd35
parent f4cfa079c74b2dfdf99ffa987fecf23b2f0f4f14
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 1 Apr 2022 00:57:49 +0200
sfeed_curses: small code-style change
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git 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,