diff --git a/src/ipdb.rs b/src/ipdb.rs index 22fff23..c0d231f 100644 --- a/src/ipdb.rs +++ b/src/ipdb.rs @@ -57,7 +57,7 @@ impl DbType { ) -> color_eyre::Result<()> { #[cfg(feature = "tui")] drop(tx.send(Event::App(AppEvent::IpDbTotal( - self.clone(), + *self, response.content_length(), )))); @@ -74,7 +74,7 @@ impl DbType { })?; #[cfg(feature = "tui")] drop(tx.send(Event::App(AppEvent::IpDbDownloaded( - self.clone(), + *self, chunk.len(), )))); }