From 7b9e178a76cb21cb644276eb4e0a08f7514017aa Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Mon, 14 Jul 2008 15:46:05 +0530 Subject: Add version info in embedded stats page --- src/stats.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/stats.c b/src/stats.c index dcbc3b8..558a4c4 100644 --- a/src/stats.c +++ b/src/stats.c @@ -76,6 +76,8 @@ showstats(struct conn_s *connptr) "Number of denied connections: %lu
\n" "Number of refused connections due to high load: %lu\n" "

\n" + "
\n" + "

Generated by %s version %s.

\n" "\n" "\n"; @@ -99,7 +101,8 @@ showstats(struct conn_s *connptr) stats->num_open, stats->num_reqs, stats->num_badcons, stats->num_denied, - stats->num_refused); + stats->num_refused, + PACKAGE, VERSION); if (send_http_message(connptr, 200, "OK", message_buffer) < 0) { safefree(message_buffer); -- cgit v1.2.3