diff options
author | erdgeist <> | 2010-04-09 09:40:12 +0000 |
---|---|---|
committer | erdgeist <> | 2010-04-09 09:40:12 +0000 |
commit | fc48cbed012c2b7a4eaa8611c6cfb42628a5c622 (patch) | |
tree | 431fc56a11b67089fd6a67324c9bef4852539609 /ot_stats.c | |
parent | a1eec929a1c6e0661c8ce4a56cb044f7176170bf (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ static unsigned long long ot_full_scrape_count = 0; | |||
55 | static unsigned long long ot_full_scrape_request_count = 0; | 55 | static unsigned long long ot_full_scrape_request_count = 0; |
56 | static unsigned long long ot_full_scrape_size = 0; | 56 | static unsigned long long ot_full_scrape_size = 0; |
57 | static unsigned long long ot_failed_request_counts[CODE_HTTPERROR_COUNT]; | 57 | static unsigned long long ot_failed_request_counts[CODE_HTTPERROR_COUNT]; |
58 | static 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" }; | 58 | static 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" }; |
59 | static unsigned long long ot_renewed[OT_PEER_TIMEOUT]; | 59 | static unsigned long long ot_renewed[OT_PEER_TIMEOUT]; |
60 | static unsigned long long ot_overall_sync_count; | 60 | static unsigned long long ot_overall_sync_count; |
61 | static unsigned long long ot_overall_stall_count; | 61 | static unsigned long long ot_overall_stall_count; |