aboutsummaryrefslogtreecommitdiffstats
path: root/echld_test.c
diff options
context:
space:
mode:
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 );