summaryrefslogtreecommitdiff
path: root/ot_stats.c
diff options
context:
space:
mode:
authorerdgeist <>2010-04-09 09:40:12 +0000
committererdgeist <>2010-04-09 09:40:12 +0000
commitfc48cbed012c2b7a4eaa8611c6cfb42628a5c622 (patch)
tree431fc56a11b67089fd6a67324c9bef4852539609 /ot_stats.c
parenta1eec929a1c6e0661c8ce4a56cb044f7176170bf (diff)
Fix segfault in stats?mode=everything, an additional errorcode was not commited to ot_stats
Diffstat (limited to 'ot_stats.c')
-rw-r--r--ot_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_stats.c b/ot_stats.c
index a976713..1f5e5e9 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -55,7 +55,7 @@ static unsigned long long ot_full_scrape_count = 0;
55static unsigned long long ot_full_scrape_request_count = 0; 55static unsigned long long ot_full_scrape_request_count = 0;
56static unsigned long long ot_full_scrape_size = 0; 56static unsigned long long ot_full_scrape_size = 0;
57static unsigned long long ot_failed_request_counts[CODE_HTTPERROR_COUNT]; 57static unsigned long long ot_failed_request_counts[CODE_HTTPERROR_COUNT];
58static char * ot_failed_request_names[] = { "302 Redirect", "400 Parse Error", "400 Invalid Parameter", "400 Invalid Parameter (compact=0)", "403 Access Denied", "404 Not found", "500 Internal Server Error" }; 58static char * ot_failed_request_names[] = { "302 Redirect", "400 Parse Error", "400 Invalid Parameter", "400 Invalid Parameter (compact=0)", "400 Not Modest", "403 Access Denied", "404 Not found", "500 Internal Server Error" };
59static unsigned long long ot_renewed[OT_PEER_TIMEOUT]; 59static unsigned long long ot_renewed[OT_PEER_TIMEOUT];
60static unsigned long long ot_overall_sync_count; 60static unsigned long long ot_overall_sync_count;
61static unsigned long long ot_overall_stall_count; 61static unsigned long long ot_overall_stall_count;