summaryrefslogtreecommitdiff
path: root/ot_stats.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2015-12-11 17:57:53 +0100
committerDirk Engling <erdgeist@erdgeist.org>2015-12-11 17:57:53 +0100
commitba25d2b2a84a31eac2956b71cb12b4b0748b35f5 (patch)
treee8a630695fa490d11994fcb8dfbb490cb668809f /ot_stats.c
parent75c216c82db5f18b2fea156df16682655029e3c6 (diff)
Forgot to include one error code. Thanks to Lars Seipel
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 7e03410..83cd058 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -56,7 +56,7 @@ static unsigned long long ot_full_scrape_count = 0;
56static unsigned long long ot_full_scrape_request_count = 0; 56static unsigned long long ot_full_scrape_request_count = 0;
57static unsigned long long ot_full_scrape_size = 0; 57static unsigned long long ot_full_scrape_size = 0;
58static unsigned long long ot_failed_request_counts[CODE_HTTPERROR_COUNT]; 58static unsigned long long ot_failed_request_counts[CODE_HTTPERROR_COUNT];
59static 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 char * ot_failed_request_names[] = { "302 Redirect", "400 Parse Error", "400 Invalid Parameter", "400 Invalid Parameter (compact=0)", "400 Not Modest", "402 Payment Required", "403 Access Denied", "404 Not found", "500 Internal Server Error" };
60static unsigned long long ot_renewed[OT_PEER_TIMEOUT]; 60static unsigned long long ot_renewed[OT_PEER_TIMEOUT];
61static unsigned long long ot_overall_sync_count; 61static unsigned long long ot_overall_sync_count;
62static unsigned long long ot_overall_stall_count; 62static unsigned long long ot_overall_stall_count;