diff options
author | Mukund Sivaraman <muks@banu.com> | 2008-07-14 15:46:05 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2008-07-14 15:46:05 +0530 |
commit | 7b9e178a76cb21cb644276eb4e0a08f7514017aa (patch) | |
tree | e27634048e249cb2f192c5421fe63854305db8ee | |
parent | 7f12f71f94fd0f29a00f0e4d2b2cd09247cb0908 (diff) | |
download | tinyproxy-7b9e178a76cb21cb644276eb4e0a08f7514017aa.tar.gz tinyproxy-7b9e178a76cb21cb644276eb4e0a08f7514017aa.zip |
Add version info in embedded stats page
Diffstat (limited to '')
-rw-r--r-- | src/stats.c | 5 |
1 files changed, 4 insertions, 1 deletions
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<br />\n" "Number of refused connections due to high load: %lu\n" "</p>\n" + "<hr />\n" + "<p><em>Generated by %s version %s.</em></p>\n" "</body>\n" "</html>\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); |