summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgit <git>2015-12-11 16:57:37 +0000
committergit <git>2015-12-11 16:57:37 +0000
commitf3471b76670586bb9d5c505e6ac03ccd1627b9f5 (patch)
treeacccdfee9335356485f49cfa4a9cebab13ad6302
parent5948ee5986d2bd4416e5f5e65c4f8f0ddf1ef27a (diff)
downloadopentracker-f3471b76670586bb9d5c505e6ac03ccd1627b9f5.tar.gz
opentracker-f3471b76670586bb9d5c505e6ac03ccd1627b9f5.zip
Forgot to include one error code. Thanks to Lars Seipel
-rw-r--r--ot_stats.c4
1 files 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";