Skip to content

Commit

Permalink
fix ref
Browse files Browse the repository at this point in the history
  • Loading branch information
yorktown-class committed Oct 11, 2023
1 parent 5f67690 commit 1a99dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ impl<T: 'static + Transport> ControlChannel<T> {
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 => {
Expand Down

0 comments on commit 1a99dc7

Please sign in to comment.