summaryrefslogtreecommitdiff
path: root/ot_clean.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_clean.c')
-rw-r--r--ot_clean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_clean.c b/ot_clean.c
index 5204be6..2173c27 100644
--- a/ot_clean.c
+++ b/ot_clean.c
@@ -35,7 +35,7 @@ static ssize_t clean_single_bucket( ot_peer *peers, size_t peer_count, time_t ti
35 OT_PEERTIME( peers ) = timediff; 35 OT_PEERTIME( peers ) = timediff;
36 *(uint64_t*)(insert_point++) = *(uint64_t*)(peers++); 36 *(uint64_t*)(insert_point++) = *(uint64_t*)(peers++);
37 } else 37 } else
38 if( OT_FLAG( peers++ ) & PEER_FLAG_SEEDING ) 38 if( OT_PEERFLAG( peers++ ) & PEER_FLAG_SEEDING )
39 (*removed_seeders)++; 39 (*removed_seeders)++;
40 40
41 return peers - insert_point; 41 return peers - insert_point;