|
@@ -173,7 +173,7 @@ static void route_clients_test(NetIO &netio)
|
|
|
printf("Epoch time: %lu.%06lu s\n", diff/1000000, diff%1000000);
|
|
|
|
|
|
// Sleep for the rest of the epoch interval
|
|
|
- if (diff < EPOCH_INTERVAL && i!=0) {
|
|
|
+ if (diff < EPOCH_INTERVAL) {
|
|
|
usleep(EPOCH_INTERVAL - (useconds_t) diff);
|
|
|
}
|
|
|
}
|