From 02078aba27b9ff150e8b02d9546a04525f056b33 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 20 Feb 2009 12:31:55 +0000 Subject: Reset delta_torrentcount to zero on each pass --- trackerlogic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trackerlogic.c') diff --git a/trackerlogic.c b/trackerlogic.c index 182fa94..249a2a0 100644 --- a/trackerlogic.c +++ b/trackerlogic.c @@ -269,11 +269,11 @@ size_t return_udp_scrape_for_torrent( ot_hash hash, char *reply ) { size_t return_tcp_scrape_for_torrent( ot_hash *hash_list, int amount, char *reply ) { char *r = reply; int exactmatch, i; - int delta_torrentcount = 0; r += sprintf( r, "d5:filesd" ); for( i=0; idata, torrents_list->size, sizeof( ot_torrent ), OT_HASH_COMPARE_SIZE, &exactmatch ); -- cgit v1.2.3