diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2016-01-01 09:03:55 +0100 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-03-16 22:41:19 +0800 |
commit | a5e5bab74b17ed85c0b61efb564f13120b8123b7 (patch) | |
tree | 4c43113ba26fdfbda66cd9bbb54e5a46bee5f3ba | |
parent | 8f96b8908ec21bed35ae3a3109b94adbfffaf289 (diff) |
Suspicious use of ;
-rw-r--r-- | svr-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -338,7 +338,7 @@ static void sigchld_handler(int UNUSED(unused)) { const int saved_errno = errno; - while(waitpid(-1, NULL, WNOHANG) > 0); + while(waitpid(-1, NULL, WNOHANG) > 0) {} sa_chld.sa_handler = sigchld_handler; sa_chld.sa_flags = SA_NOCLDSTOP; |