Skip to content

Commit

Permalink
Don't expect existing number value in return plist
Browse files Browse the repository at this point in the history
  • Loading branch information
jkcoxson committed Jan 23, 2025
1 parent 34aa8f4 commit c547d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ async fn handle_stream(
error!("Unable to connect to device {device_id} port {connection_port}: {e:?}");
let mut p = plist::Dictionary::new();
p.insert("MessageType".into(), "Result".into());
p.insert("Number".into(), 1.into()).unwrap();
p.insert("Number".into(), 1.into());

let res = RawPacket::new(p, 1, 8, parsed.tag);
let res: Vec<u8> = res.into();
Expand Down

0 comments on commit c547d30

Please sign in to comment.