diff options
author | erdgeist <> | 2010-04-21 13:23:40 +0000 |
---|---|---|
committer | erdgeist <> | 2010-04-21 13:23:40 +0000 |
commit | 66cda4bc7559ef0930b8dd0d36ac64c274defbd6 (patch) | |
tree | 2bbe4b13f841265962b4cbade6b45c8a4729d9de /trackerlogic.c | |
parent | 85e6880233c114450f6a0cc9e655e8c14c8af80a (diff) |
Add our own time stamps to the completed logs.
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 f70dd94..5348927 100644 --- a/trackerlogic.c +++ b/trackerlogic.c | |||
@@ -165,7 +165,7 @@ size_t add_peer_to_torrent_and_return_peers( ot_hash hash, ot_peer *peer, PROTO_ | |||
165 | torrent->peer_list->seed_count++; | 165 | torrent->peer_list->seed_count++; |
166 | if( !(OT_PEERFLAG(peer_dest) & PEER_FLAG_COMPLETED ) && (OT_PEERFLAG(peer) & PEER_FLAG_COMPLETED ) ) { | 166 | if( !(OT_PEERFLAG(peer_dest) & PEER_FLAG_COMPLETED ) && (OT_PEERFLAG(peer) & PEER_FLAG_COMPLETED ) ) { |
167 | torrent->peer_list->down_count++; | 167 | torrent->peer_list->down_count++; |
168 | stats_issue_event( EVENT_COMPLETED, 0, 0 ); | 168 | stats_issue_event( EVENT_COMPLETED, 0, (uintptr_t)torrent->hash ); |
169 | } | 169 | } |
170 | if( OT_PEERFLAG(peer_dest) & PEER_FLAG_COMPLETED ) | 170 | if( OT_PEERFLAG(peer_dest) & PEER_FLAG_COMPLETED ) |
171 | OT_PEERFLAG( peer ) |= PEER_FLAG_COMPLETED; | 171 | OT_PEERFLAG( peer ) |= PEER_FLAG_COMPLETED; |