Răsfoiți Sursa

channel: minor fix to debug! statement

x 2 ani în urmă
părinte
comite
bcc159ea55
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/net/channel.rs

+ 1 - 1
src/net/channel.rs

@@ -170,7 +170,7 @@ impl Channel {
     pub async fn send<M: message::Message>(&self, message: &M) -> Result<()> {
         debug!(
              target: "net::channel::send()", "[START] command={} {:?}",
-             M::NAME, self.address(),
+             M::NAME, self,
         );
 
         if *self.stopped.lock().await {