]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
Fix segfault in stats?mode=everything, an additional errorcode was not commited to...
authorerdgeist <>
Fri, 9 Apr 2010 09:40:12 +0000 (09:40 +0000)
committererdgeist <>
Fri, 9 Apr 2010 09:40:12 +0000 (09:40 +0000)
ot_stats.c

index a976713a18eae96c864ce19d2c38f3e523da63c4..1f5e5e9572a92b058640ab0e59c6511d9ceb0e85 100644 (file)
@@ -55,7 +55,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)", "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", "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;