Prefer for (;;) over while (1)

This commit is contained in:
Roy Marples 2008-01-21 16:10:38 +00:00
parent 07728abbc1
commit 2007ed4b95

View File

@ -456,7 +456,7 @@ static bool svc_exec (const char *arg1, const char *arg2)
selfd = MAX (master_tty, signal_pipe[0]) + 1;
buffer = xmalloc (sizeof (char) * BUFSIZ);
while (1) {
for (;;) {
FD_ZERO (&rset);
FD_SET (signal_pipe[0], &rset);
if (master_tty >= 0)