Skip to content

Commit

Permalink
Renamed render_usecs() function to render_avgts().
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Jul 8, 2015
1 parent 670c0e9 commit 0a7a630
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gdashboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,9 @@ render_protocol (GDashModule * data, GDashRender render, int *x)
*x += REQ_PROTO_LEN - 1 + DASH_SPACE;
}

/* render dashboard usecs */
/* render dashboard averages time served */
static void
render_usecs (GDashModule * data, GDashRender render, int *x)
render_avgts (GDashModule * data, GDashRender render, int *x)
{
WINDOW *win = render.win;
GModule module = data->module;
Expand Down Expand Up @@ -866,7 +866,7 @@ render_data_line (WINDOW * win, GDashModule * data, int *y, int j,

/* render usecs if available */
if (conf.serve_usecs)
render_usecs (data, render, &x);
render_avgts (data, render, &x);
/* render request method if available */
if (conf.append_method)
render_method (data, render, &x);
Expand Down

0 comments on commit 0a7a630

Please sign in to comment.