Simplify the trait for tracker comms
This commit is contained in:
parent
b30ee13388
commit
70c59834ba
2 changed files with 28 additions and 28 deletions
|
|
@ -41,7 +41,7 @@ use crate::{
|
|||
torrent_state::{
|
||||
ManagedTorrentBuilder, ManagedTorrentHandle, ManagedTorrentState, TorrentStateLive,
|
||||
},
|
||||
tracker_comms::{self, TrackerComms},
|
||||
tracker_comms::TrackerComms,
|
||||
type_aliases::PeerStream,
|
||||
};
|
||||
|
||||
|
|
@ -1093,7 +1093,7 @@ impl Session {
|
|||
self.peer_id,
|
||||
trackers,
|
||||
// TODO: report actual bytes, not zeroes.
|
||||
Box::new(tracker_comms::TorrentStatsForTrackerDummy {}),
|
||||
Box::new(()),
|
||||
force_tracker_interval,
|
||||
cancel,
|
||||
announce_port,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue