Explorar o código

channel: minor fix to debug! statement

x %!s(int64=3) %!d(string=hai) anos
pai
achega
bcc159ea55
Modificáronse 1 ficheiros con 1 adicións e 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 {