Skip to content

Commit

Permalink
fixed percentage in request reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Jun 7, 2012
1 parent 030af05 commit 96eb7ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ print_html_request_report (FILE * fp, GHashTable * ht, struct logger *logger)
v = output[i]->data;

bw = ht_bw_str (ht_file_bw, v);
t = ((float) (k * 100) / n);
t = ((float) (k * 100) / logger->total_process);

print_html_begin_tr (fp, i > OUTPUT_N ? 1 : 0);
fprintf (fp, "<td class=\"d1\">%d</td>", k);
Expand Down

0 comments on commit 96eb7ca

Please sign in to comment.