diff options
Diffstat (limited to 'trackerlogic.c')
-rw-r--r-- | trackerlogic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.c b/trackerlogic.c index 6ca1ad2..f70dd94 100644 --- a/trackerlogic.c +++ b/trackerlogic.c | |||
@@ -138,7 +138,7 @@ size_t add_peer_to_torrent_and_return_peers( ot_hash hash, ot_peer *peer, PROTO_ | |||
138 | torrent->peer_list->peer_count++; | 138 | torrent->peer_list->peer_count++; |
139 | if( OT_PEERFLAG(peer) & PEER_FLAG_COMPLETED ) { | 139 | if( OT_PEERFLAG(peer) & PEER_FLAG_COMPLETED ) { |
140 | torrent->peer_list->down_count++; | 140 | torrent->peer_list->down_count++; |
141 | stats_issue_event( EVENT_COMPLETED, 0, 0 ); | 141 | stats_issue_event( EVENT_COMPLETED, 0, (uintptr_t)torrent->hash ); |
142 | } | 142 | } |
143 | if( OT_PEERFLAG(peer) & PEER_FLAG_SEEDING ) | 143 | if( OT_PEERFLAG(peer) & PEER_FLAG_SEEDING ) |
144 | torrent->peer_list->seed_count++; | 144 | torrent->peer_list->seed_count++; |