aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index f213197..b615ddc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -34,7 +34,11 @@ fn main() {
server::main(TransportConfig::UdpSocket(server_addr));
} else if let Some(server_addr) = cli.connect_to {
let client_addr = SocketAddr::new(Ipv4Addr::UNSPECIFIED.into(), SERVER_PORT + client_id);
- client::main(Some(server_addr), client_id as u64, TransportConfig::UdpSocket(client_addr));
+ client::main(
+ Some(server_addr),
+ client_id as u64,
+ TransportConfig::UdpSocket(client_addr),
+ );
} else {
let (from_server_send, from_server_recv) = crossbeam_channel::unbounded();
let (to_server_send, to_server_recv) = crossbeam_channel::unbounded();