[Client] With -N, print nb of remaining trx

When the -N option is used, the number of remaining request
transmissions is printed after each transmission.
This commit is contained in:
Matteo Cypriani 2014-03-24 07:50:11 -04:00
parent dd8497fb53
commit 6c8d97ace3
1 changed files with 4 additions and 0 deletions

View File

@ -166,6 +166,10 @@ int main(int argc, char *argv[])
uint_fast32_t trx_time, sleep_time ;
owl_timestamp now ;
if (options.verbose && options.nb_requests)
printf("%"PRIuFAST16" more requests to transmit.\n",
nb_requests_left) ;
if (options.add_flood_delay)
owl_msleep(options.flood_delay) ;
else