Skip to content

Commit

Permalink
Fix property issue
Browse files Browse the repository at this point in the history
  • Loading branch information
obabec committed Apr 28, 2022
1 parent 4845bb2 commit 37bf023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust-mqtt"
version = "0.1.1"
version = "0.1.2"
authors = ["Ondrej Babec <[email protected]>"]
edition = "2021"
resolver = "2"
Expand Down
1 change: 1 addition & 0 deletions src/packet/v5/property.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ impl<'a> Property<'a> {
Ok(0x24) => Ok(Property::MaximumQoS(buff_reader.read_u8()?)),
Ok(0x25) => Ok(Property::RetainAvailable(buff_reader.read_u8()?)),
Ok(0x26) => Ok(Property::UserProperty(buff_reader.read_string_pair()?)),
Ok(0x27) => Ok(Property::MaximumPacketSize(buff_reader.read_u32()?)),
Ok(0x28) => Ok(Property::WildcardSubscriptionAvailable(
buff_reader.read_u8()?,
)),
Expand Down

0 comments on commit 37bf023

Please sign in to comment.