summaryrefslogtreecommitdiff
path: root/ot_clean.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_clean.c')
-rw-r--r--ot_clean.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ot_clean.c b/ot_clean.c
index 4c03416..139bedb 100644
--- a/ot_clean.c
+++ b/ot_clean.c
@@ -17,6 +17,7 @@
17#include "ot_vector.h" 17#include "ot_vector.h"
18#include "ot_clean.h" 18#include "ot_clean.h"
19#include "ot_stats.h" 19#include "ot_stats.h"
20#include "ot_accesslist.h"
20 21
21/* Returns amount of removed peers */ 22/* Returns amount of removed peers */
22static ssize_t clean_single_bucket( ot_peer *peers, size_t peer_count, time_t timedout, int *removed_seeders ) { 23static ssize_t clean_single_bucket( ot_peer *peers, size_t peer_count, time_t timedout, int *removed_seeders ) {
@@ -123,6 +124,9 @@ static void * clean_worker( void * args ) {
123 usleep( OT_CLEAN_SLEEP ); 124 usleep( OT_CLEAN_SLEEP );
124 } 125 }
125 stats_cleanup(); 126 stats_cleanup();
127#ifdef WANT_ACCESSLIST
128 accesslist_cleanup();
129#endif
126 } 130 }
127 return NULL; 131 return NULL;
128} 132}