diff --git a/src/client.rs b/src/client.rs index 64187f69..a35ffbb3 100644 --- a/src/client.rs +++ b/src/client.rs @@ -438,7 +438,7 @@ impl ControlChannel { let s = toml::to_string(&self.service).unwrap(); let buf = s.as_bytes(); conn.write_u32(buf.len() as u32).await?; - conn.write_all(&buf).await?; + conn.write_all(buf).await?; conn.flush().await?; } v => {