From 2fe213d7770adbbda72415aa19f3669139942a08 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Mon, 14 Jul 2008 17:14:12 +0530 Subject: Fix error variable names that stats.html expects --- src/stats.c | 4 ++-- 1 file 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); -- cgit v1.2.3