summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-08-14 14:52:39 +0200
committerKarsten Loesing <karsten.loesing@gmx.net>2009-08-17 13:30:09 +0200
commitd97e95cb6242b94002854055a08c3190e731139b (patch)
tree743a9a187b83981a1b583be332c78e35c7ab3715 /src/or/main.c
parentab7729f4724efbfac33c069f488e74c8ccc058f1 (diff)
downloadtor-d97e95cb6242b94002854055a08c3190e731139b.tar.gz
tor-d97e95cb6242b94002854055a08c3190e731139b.zip
Remove ./configure option for cell statistics.
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 4969212798..403ae93625 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -830,9 +830,7 @@ run_scheduled_events(time_t now)
static time_t time_to_clean_caches = 0;
static time_t time_to_recheck_bandwidth = 0;
static time_t time_to_check_for_expired_networkstatus = 0;
-#ifdef ENABLE_BUFFER_STATS
static time_t time_to_dump_buffer_stats = 0;
-#endif
static time_t time_to_retry_dns_init = 0;
or_options_t *options = get_options();
int i;
@@ -960,13 +958,11 @@ run_scheduled_events(time_t now)
time_to_check_for_expired_networkstatus = now + CHECK_EXPIRED_NS_INTERVAL;
}
-#ifdef ENABLE_BUFFER_STATS
if (time_to_dump_buffer_stats < now) {
if (get_options()->CellStatistics && time_to_dump_buffer_stats)
dump_buffer_stats();
time_to_dump_buffer_stats = now + DUMP_BUFFER_STATS_INTERVAL;
}
-#endif
/* Remove old information from rephist and the rend cache. */
if (time_to_clean_caches < now) {