Explorar el Código

channel: minor fix to debug! statement

x hace 3 años
padre
commit
bcc159ea55
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {