aboutsummaryrefslogtreecommitdiffstats
path: root/echld_test.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2013-06-25 17:43:52 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2013-06-25 17:43:52 +0000
commite200f6cbf9f53a7ea7e4cb3294392d749eb89432 (patch)
tree72578481cebdff4306311b2a5bb0d73202ac2e9b /echld_test.c
parentce088c334d7dd137aee56095ea2ed89aca67f4f0 (diff)
This should get cmake to ignore echld...
svn path=/trunk/; revision=50141
Diffstat (limited to 'echld_test.c')
-rw-r--r--echld_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/echld_test.c b/echld_test.c
index 3c34236087..3604c46028 100644
--- a/echld_test.c
+++ b/echld_test.c
@@ -97,7 +97,8 @@ int main(int argc, char** argv) {
do {
if (tot_cycles < npings) echld_ping(0,ping_cb,NULL);
tot_cycles++;
- } while( pings < 10 && tot_cycles < 25 && echld_wait(&tv));
+ echld_wait(&tv);
+ } while( (pings < 10) && (tot_cycles < 25));
fprintf(stderr, "Done: pings=%d errors=%d tot_cycles=%d\n", pings, errors ,tot_cycles );