diff options
-rw-r--r-- | trackerlogic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.c b/trackerlogic.c index fd6a6ee..37bb878 100644 --- a/trackerlogic.c +++ b/trackerlogic.c | |||
@@ -165,7 +165,7 @@ size_t return_peers_for_torrent( ot_hash *hash, size_t amount, char *reply, int | |||
165 | amount = peer_list->peer_count; | 165 | amount = peer_list->peer_count; |
166 | 166 | ||
167 | if( is_tcp ) | 167 | if( is_tcp ) |
168 | r += sprintf( r, "d8:completei%zde10:incompletei%zde8:intervali%ie5:peers%zd:", peer_list->seed_count, peer_list->peer_count-peer_list->seed_count, OT_CLIENT_REQUEST_INTERVAL_RANDOM, 6*amount ); | 168 | r += sprintf( r, "d8:completei%zde10:downloadedi%zde10:incompletei%zde8:intervali%ie5:peers%zd:", peer_list->seed_count, peer_list->down_count, peer_list->peer_count-peer_list->seed_count, OT_CLIENT_REQUEST_INTERVAL_RANDOM, 6*amount ); |
169 | else { | 169 | else { |
170 | *(uint32_t*)(r+0) = htonl( OT_CLIENT_REQUEST_INTERVAL_RANDOM ); | 170 | *(uint32_t*)(r+0) = htonl( OT_CLIENT_REQUEST_INTERVAL_RANDOM ); |
171 | *(uint32_t*)(r+4) = htonl( peer_list->peer_count ); | 171 | *(uint32_t*)(r+4) = htonl( peer_list->peer_count ); |