spelling: valid
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
a6b672848b
commit
5e4ca9ef92
@ -74,7 +74,7 @@ impl BinaryReader {
|
|||||||
assert!(BIN_DATA.len() > IDENTIFIER_LENGTH, "bin data invalid!");
|
assert!(BIN_DATA.len() > IDENTIFIER_LENGTH, "bin data invalid!");
|
||||||
let mut iden = String::from_utf8_lossy(&BIN_DATA[base..base + IDENTIFIER_LENGTH]);
|
let mut iden = String::from_utf8_lossy(&BIN_DATA[base..base + IDENTIFIER_LENGTH]);
|
||||||
if iden != "rustdesk" {
|
if iden != "rustdesk" {
|
||||||
panic!("bin file is not vaild!");
|
panic!("bin file is not valid!");
|
||||||
}
|
}
|
||||||
base += IDENTIFIER_LENGTH;
|
base += IDENTIFIER_LENGTH;
|
||||||
loop {
|
loop {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user