summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-28 18:50:20 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-29 09:58:15 -0800
commit2d88aba7a84d153c2fc3226eece751395990edc7 (patch)
treea1f365b2a17d3bfb7abea84e16fbef7fac18fe17
parent622a5500e8b19d603592bb1e871633323a3c09da (diff)
Merge adjacent if (timeout) blocks
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
-rw-r--r--xinit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xinit.c b/xinit.c
index 2b3842e..42ff008 100644
--- a/xinit.c
+++ b/xinit.c
@@ -380,9 +380,8 @@ processTimeout(int timeout, char *string)
else
fprintf(stderr, ".");
fflush(stderr);
- }
- if (timeout)
sleep(1);
+ }
if (++i > timeout)
break;
}