Browse Source

Forgot to notify central counter about torrent removal

master
Dirk Engling 13 years ago
parent
commit
57b8f256d5
  1. 4
      trackerlogic.c

4
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;
}
@ -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