--- a/rust/hedgewars-server/src/main.rs Thu Jun 17 19:32:26 2021 +0200
+++ b/rust/hedgewars-server/src/main.rs Sat Jun 19 17:48:10 2021 +0300
@@ -71,7 +71,7 @@
for event in events.iter() {
if event.readiness() & Ready::readable() == Ready::readable() {
match event.token() {
- token @ utils::SERVER_TOKEN | token @ utils::SECURE_SERVER_TOKEN => {
+ token @ (utils::SERVER_TOKEN | utils::SECURE_SERVER_TOKEN) => {
match hw_network.accept_client(&poll, token) {
Ok(()) => (),
Err(e) => debug!("Error accepting client: {}", e),