Browse Source

Do not use UTF-8 in net_trace!().

This may interact badly with other tooling.
whitequark 8 years ago
parent
commit
a5c05f2f8e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/socket/tcp.rs

+ 2 - 2
src/socket/tcp.rs

@@ -490,10 +490,10 @@ impl<'a> TcpSocket<'a> {
     fn set_state(&mut self, state: State) {
         if self.state != state {
             if self.remote_endpoint.addr.is_unspecified() {
-                net_trace!("tcp:{}: state={}{}",
+                net_trace!("tcp:{}: state={}=>{}",
                            self.local_endpoint, self.state, state);
             } else {
-                net_trace!("tcp:{}:{}: state={}{}",
+                net_trace!("tcp:{}:{}: state={}=>{}",
                            self.local_endpoint, self.remote_endpoint, self.state, state);
             }
         }