Browse Source

fixed protocol bugs (0=true and 1=false)

master
Michael Preisach 7 years ago
parent
commit
7b602a60f1
  1. 4
      src/protocol.rs

4
src/protocol.rs

@ -88,8 +88,8 @@ impl Protocol {
Err(_e) => return Err("ERR index not a number")
};
let value = match arguments[2] {
"0" => true,
"1" => false,
"1" => true,
"0" => false,
_ => return Err("ERR no value for segment")
};
if RPI {

Loading…
Cancel
Save