changeset 13529 | 5359ff75da3a |
parent 13428 | 87a6cad20c90 |
child 13806 | 5fb40c8e5542 |
--- a/gameServer2/src/utils.rs Tue Jul 17 00:27:24 2018 +0300 +++ b/gameServer2/src/utils.rs Tue Jul 17 16:03:34 2018 +0300 @@ -3,7 +3,7 @@ use base64::{encode}; pub const PROTOCOL_VERSION : u32 = 3; -pub const SERVER: mio::Token = mio::Token(1000000000 + 0); +pub const SERVER: mio::Token = mio::Token(1_000_000_000); pub fn is_name_illegal(name: &str ) -> bool{ name.len() > 40 ||