Skip to content

Commit

Permalink
fix unsubscribe packet in v5
Browse files Browse the repository at this point in the history
  • Loading branch information
henil committed May 30, 2023
1 parent 1654935 commit 08a847c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rumqttd/src/protocol/v5/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ impl Protocol for V5 {
let (suback, properties) = suback::read(fixed_header, packet)?;
Packet::SubAck(suback, properties)
}
Packet::Unsubscribe => {
PacketType::Unsubscribe => {
let (unsubscribe, properties) = unsubscribe::read(fixed_header, packet)?;
Packet::Unsubscribe(unsubscribe, properties)
}
Expand Down

0 comments on commit 08a847c

Please sign in to comment.