spelling: valid

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-01-09 02:30:38 -05:00
parent a6b672848b
commit 5e4ca9ef92

View File

@ -74,7 +74,7 @@ impl BinaryReader {
assert!(BIN_DATA.len() > IDENTIFIER_LENGTH, "bin data invalid!");
let mut iden = String::from_utf8_lossy(&BIN_DATA[base..base + IDENTIFIER_LENGTH]);
if iden != "rustdesk" {
panic!("bin file is not vaild!");
panic!("bin file is not valid!");
}
base += IDENTIFIER_LENGTH;
loop {