rem: fprintf(f, "Replied localy: %10lu" CLEANUP_EOL , acc_stats->replied_localy ); fprintf(f, "Completion status 6xx: %10lu,", acc_stats->completed_6xx ); fprintf(f, " 5xx: %10lu,", acc_stats->completed_5xx ); fprintf(f, " 4xx: %10lu,", acc_stats->completed_4xx ); fprintf(f, " 3xx: %10lu,", acc_stats->completed_3xx ); fprintf(f, "2xx: %10lu" CLEANUP_EOL , acc_stats->completed_2xx );
add: fprintf(f, "Current: %lu (%lu waiting) " "Total: %lu (%lu local) " CLEANUP_EOL, current, waiting, total, total_local);  fprintf(f, "Replied localy: %lu" CLEANUP_EOL , tm_stats->replied_localy ); fprintf(f, "Completion status 6xx: %lu,", tm_stats->completed_6xx ); fprintf(f, " 5xx: %lu,", tm_stats->completed_5xx ); fprintf(f, " 4xx: %lu,", tm_stats->completed_4xx ); fprintf(f, " 3xx: %lu,", tm_stats->completed_3xx ); fprintf(f, "2xx: %lu" CLEANUP_EOL , tm_stats->completed_2xx );
context: int print_stats(  FILE *f ){	fprintf(f, "Current:\n");	fprintf(f, "# of transactions: %10lu, ", 		cur_stats->transactions );	fprintf(f, "local: %10lu, ",		cur_stats->client_transactions );	fprintf(f, "waiting: %10lu" CLEANUP_EOL ,		cur_stats->waiting );	fprintf(f, "Total:\n");	fprintf(f, "# of transactions: %10lu,",		acc_stats->transactions );	fprintf(f, " local: %10lu,",		acc_stats->client_transactions );	fprintf(f, " waiting: %10lu" CLEANUP_EOL ,		acc_stats->waiting );	fprintf(f, "Replied localy: %10lu" CLEANUP_EOL ,		acc_stats->replied_localy );	fprintf(f, "Completion status 6xx: %10lu,",		acc_stats->completed_6xx );	fprintf(f, " 5xx: %10lu,",		acc_stats->completed_5xx );	fprintf(f, " 4xx: %10lu,",		acc_stats->completed_4xx );	fprintf(f, " 3xx: %10lu,",		acc_stats->completed_3xx );	fprintf(f, "2xx: %10lu" CLEANUP_EOL ,		acc_stats->completed_2xx );		return 1;}