Removed some excessive parens.
authorWayne Davison <wayned@samba.org>
Wed, 9 Jun 2004 21:43:28 +0000 (21:43 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 9 Jun 2004 21:43:28 +0000 (21:43 +0000)
main.c

diff --git a/main.c b/main.c
index 0aeb29c..c6a3165 100644 (file)
--- a/main.c
+++ b/main.c
@@ -84,7 +84,7 @@ void wait_process(pid_t pid, int *status)
                io_flush(FULL_FLUSH);
        }
 
-       if ((waited_pid == -1) && (errno == ECHILD)) {
+       if (waited_pid == -1 && errno == ECHILD) {
                /* status of requested child no longer available.
                 * check to see if it was processed by the sigchld_handler.
                 */