From f3471b76670586bb9d5c505e6ac03ccd1627b9f5 Mon Sep 17 00:00:00 2001 From: git Date: Fri, 11 Dec 2015 16:57:37 +0000 Subject: [PATCH] Forgot to include one error code. Thanks to Lars Seipel --- ot_stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ot_stats.c b/ot_stats.c index 84d65c3..9cdcec1 100644 --- a/ot_stats.c +++ b/ot_stats.c @@ -56,7 +56,7 @@ static unsigned long long ot_full_scrape_count = 0; static unsigned long long ot_full_scrape_request_count = 0; static unsigned long long ot_full_scrape_size = 0; static unsigned long long ot_failed_request_counts[CODE_HTTPERROR_COUNT]; -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" }; +static 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" }; static unsigned long long ot_renewed[OT_PEER_TIMEOUT]; static unsigned long long ot_overall_sync_count; static unsigned long long ot_overall_stall_count; @@ -770,4 +770,4 @@ void stats_deinit( ) { pthread_cancel( thread_id ); } -const char *g_version_stats_c = "$Source: /home/cvsroot/opentracker/ot_stats.c,v $: $Revision: 1.74 $\n"; +const char *g_version_stats_c = "$Source: /home/cvsroot/opentracker/ot_stats.c,v $: $Revision: 1.75 $\n";