X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgisimple.c;h=4339ecd01199a8baeaf64cca8628c95d2742d6b6;hp=e738a605204e13f6873a3cf30c8fe23763686d1b;hb=0abb0d894b8e7088b0b9b0247f37ec6ca019975d;hpb=92d54bfa51701a0b2b96a1b929bd9b7279b89fab
diff --git a/cgisimple.c b/cgisimple.c
index e738a605..4339ecd0 100644
--- a/cgisimple.c
+++ b/cgisimple.c
@@ -1087,7 +1087,7 @@ static char *get_block_reason_statistics_table(const struct client_state *csp)
}
get_block_reason_count(block_reason, &count);
snprintf(buf, sizeof(buf),
- "
%s | %llu | ",
+ "
%s | %llu | \n",
encoded_block_reason, count);
freez(encoded_block_reason);
@@ -1146,15 +1146,15 @@ static char *get_filter_statistics_table(const struct client_state *csp)
if (b->type == FT_CONTENT_FILTER)
{
unsigned long long executions;
- unsigned long long pages_modified;
+ unsigned long long response_bodies_modified;
unsigned long long hits;
- get_filter_statistics(b->name, &executions, &pages_modified, &hits);
+ get_filter_statistics(b->name, &executions, &response_bodies_modified, &hits);
snprintf(buf, sizeof(buf),
"
%s | %llu | "
"%llu | "
"%llu |
\n",
- b->name, executions, pages_modified, hits);
+ b->name, executions, response_bodies_modified, hits);
if (!err) err = string_append(&statistics, buf);
}
@@ -1353,6 +1353,7 @@ jb_err cgi_show_status(struct client_state *csp,
else
{
if (!err) err = map(exports, "actions-filenames", 1, "
None specified |
", 1);
+ freez(s);
}
/*
@@ -1380,6 +1381,7 @@ jb_err cgi_show_status(struct client_state *csp,
{
if (!err) err = map(exports, "re-filter-filenames", 1, "None specified |
", 1);
if (!err) err = map_block_killer(exports, "have-filterfile");
+ freez(s);
}
#ifdef FEATURE_TRUST