handle surplus options
This commit is contained in:
parent
9440271d90
commit
65ef574031
@ -423,7 +423,9 @@ impl OptionsInfo {
|
||||
"clientPin" => options.client_pin = Some(decoder.bool()?),
|
||||
"up" => options.up = decoder.bool()?,
|
||||
"uv" => options.uv = Some(decoder.bool()?),
|
||||
_ => continue,
|
||||
_ => {
|
||||
decoder.bool()?;
|
||||
}
|
||||
}
|
||||
}
|
||||
Ok(options)
|
||||
|
Loading…
x
Reference in New Issue
Block a user