Forgot to notify central counter about torrent removal

master
Dirk Engling 14 years ago
parent b3f716a3e7
commit 57b8f256d5

@ -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;
}
@ -383,4 +383,4 @@ void trackerlogic_deinit( void ) {
mutex_deinit( );
}
const char *g_version_trackerlogic_c = "$Source: /home/cvsroot/opentracker/trackerlogic.c,v $: $Revision: 1.124 $\n";
const char *g_version_trackerlogic_c = "$Source: /home/cvsroot/opentracker/trackerlogic.c,v $: $Revision: 1.125 $\n";

Loading…
Cancel
Save