summaryrefslogtreecommitdiffhomepage
path: root/src/stats.c
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2008-07-14 17:14:12 +0530
committerMukund Sivaraman <muks@banu.com>2008-07-14 17:14:12 +0530
commit2fe213d7770adbbda72415aa19f3669139942a08 (patch)
tree13e831fa451744931253265e4454bf194cfd7eb2 /src/stats.c
parent7e5ac7c58a7a301d9c6d65bbc2c3632fc0fba5ed (diff)
Fix error variable names that stats.html expects
Diffstat (limited to 'src/stats.c')
-rw-r--r--src/stats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stats.c b/src/stats.c
index 558a4c4..1b958ce 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -116,8 +116,8 @@ showstats(struct conn_s *connptr)
add_error_variable(connptr, "opens", opens);
add_error_variable(connptr, "reqs", reqs);
add_error_variable(connptr, "badconns", badconns);
- add_error_variable(connptr, "denied", denied);
- add_error_variable(connptr, "refused", refused);
+ add_error_variable(connptr, "deniedconns", denied);
+ add_error_variable(connptr, "refusedconns", refused);
add_standard_vars(connptr);
send_http_headers(connptr, 200, "Statistic requested");
send_html_file(statfile, connptr);