From 66cda4bc7559ef0930b8dd0d36ac64c274defbd6 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Wed, 21 Apr 2010 13:23:40 +0000 Subject: Add our own time stamps to the completed logs. --- trackerlogic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trackerlogic.c') 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_ torrent->peer_list->seed_count++; if( !(OT_PEERFLAG(peer_dest) & PEER_FLAG_COMPLETED ) && (OT_PEERFLAG(peer) & PEER_FLAG_COMPLETED ) ) { torrent->peer_list->down_count++; - stats_issue_event( EVENT_COMPLETED, 0, 0 ); + stats_issue_event( EVENT_COMPLETED, 0, (uintptr_t)torrent->hash ); } if( OT_PEERFLAG(peer_dest) & PEER_FLAG_COMPLETED ) OT_PEERFLAG( peer ) |= PEER_FLAG_COMPLETED; -- cgit v1.2.3