Просмотр исходного кода

channel: minor fix to debug! statement

x 2 лет назад
Родитель
Сommit
bcc159ea55
1 измененных файлов с 1 добавлено и 1 удалено
  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 {