Skip to content

Commit

Permalink
Now we update name of tcp_socket
Browse files Browse the repository at this point in the history
  • Loading branch information
amigin committed May 31, 2022
1 parent 9ae20e3 commit 6e4a6db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tcp/tcp_server_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ impl TcpServerEvents {
format!("Connection name update to {}", name),
format!("ID: {}", connection.id),
);
data_reader.set_name(name).await;
data_reader.set_name(name.to_string()).await;
connection.connection_name.update(name).await;
}
}

Expand Down

0 comments on commit 6e4a6db

Please sign in to comment.