summaryrefslogtreecommitdiff
path: root/src/ot_fullscrape.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ot_fullscrape.c')
-rw-r--r--src/ot_fullscrape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ot_fullscrape.c b/src/ot_fullscrape.c
index 9fae444..787b508 100644
--- a/src/ot_fullscrape.c
+++ b/src/ot_fullscrape.c
@@ -90,8 +90,8 @@ static void fullscrape_write_one( ot_tasktype mode, char **cursor, ot_torrent *t
90 exactly that size */ 90 exactly that size */
91 char *r = *cursor; 91 char *r = *cursor;
92 const char *r_end = r + OT_SCRAPE_MAXENTRYLEN; 92 const char *r_end = r + OT_SCRAPE_MAXENTRYLEN;
93 size_t seed_count = peerlist_seed_count(torrent->peer_list6) + peerlist_seed_count(torrent->peer_list4); 93 size_t seed_count = torrent_seed_count(torrent);
94 size_t peer_count = peerlist_peer_count(torrent->peer_list6) + peerlist_peer_count(torrent->peer_list4); 94 size_t peer_count = torrent_peer_count(torrent);
95 size_t down_count = torrent->down_count; 95 size_t down_count = torrent->down_count;
96 96
97 switch (mode & TASK_TASK_MASK) { 97 switch (mode & TASK_TASK_MASK) {