Browse Source

Fix segfault in stats?mode=everything, an additional errorcode was not commited to ot_stats

dynamic-accesslists
erdgeist 15 years ago
parent
commit
fc48cbed01
  1. 2
      ot_stats.c

2
ot_stats.c

@ -55,7 +55,7 @@ static unsigned long long ot_full_scrape_count = 0; @@ -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;

Loading…
Cancel
Save