summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trackerlogic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.c b/trackerlogic.c
index 9366cd1..d6a7a33 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -294,7 +294,7 @@ size_t return_tcp_scrape_for_torrent( ot_hash *hash_list, int amount, char *repl
294 } else { 294 } else {
295 int j; 295 int j;
296 *r++='2';*r++='0';*r++=':'; 296 *r++='2';*r++='0';*r++=':';
297 for(j=0;j<20;j+=4) WRITE32(r+=4,0,READ32(hash,i)); 297 for(j=0;j<20;j+=4) WRITE32(r+=4,0,READ32(hash,j));
298 r += sprintf( r, "d8:completei%zde10:downloadedi%zde10:incompletei%zdee", 298 r += sprintf( r, "d8:completei%zde10:downloadedi%zde10:incompletei%zdee",
299 torrent->peer_list->seed_count, torrent->peer_list->down_count, torrent->peer_list->peer_count-torrent->peer_list->seed_count ); 299 torrent->peer_list->seed_count, torrent->peer_list->down_count, torrent->peer_list->peer_count-torrent->peer_list->seed_count );
300 } 300 }