From f8af5c4b09d41c56d920a9e440b1f5ce657f1948 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 20 Feb 2009 11:07:30 +0000 Subject: Forgot to notify central counter about torrent removal --- trackerlogic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trackerlogic.c') diff --git a/trackerlogic.c b/trackerlogic.c index 45ece4a..182fa94 100644 --- a/trackerlogic.c +++ b/trackerlogic.c @@ -261,7 +261,7 @@ size_t return_udp_scrape_for_torrent( ot_hash hash, char *reply ) { r[2] = htonl( torrent->peer_list->peer_count-torrent->peer_list->seed_count ); } } - mutex_bucket_unlock_by_hash( hash, 0 ); + mutex_bucket_unlock_by_hash( hash, delta_torrentcount ); return 12; } -- cgit v1.2.3