From b796a8767b566dfc30136ce8a437fbb9030f7a9b Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Thu, 5 Dec 2024 21:58:12 +0000 Subject: [PATCH] "main_torrent_info" -> "add_torrent_internal" --- crates/librqbit/src/session.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/librqbit/src/session.rs b/crates/librqbit/src/session.rs index d2e0578..019f39e 100644 --- a/crates/librqbit/src/session.rs +++ b/crates/librqbit/src/session.rs @@ -1035,7 +1035,7 @@ impl Session { } }; - self.main_torrent_info(add_res, opts).await + self.add_torrent_internal(add_res, opts).await } .instrument(error_span!(parent: self.rs(), "add_torrent")) .boxed() @@ -1068,7 +1068,7 @@ impl Session { Ok::<_, anyhow::Error>(Some(PathBuf::from(longest))) } - async fn main_torrent_info( + async fn add_torrent_internal( self: &Arc, add_res: InternalAddResult, mut opts: AddTorrentOptions,