Skip to content

Commit

Permalink
Wrong number
Browse files Browse the repository at this point in the history
  • Loading branch information
Al Stockdill-Mander committed Mar 12, 2021
1 parent deac93e commit 39b3dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paho/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ func (c *Client) Incoming() {
c.debug.Println("received PUBREL for", recv.PacketID())
//Auto respond to pubrels unless failure code
pr := recv.Content.(*packets.Pubrel)
if pr.ReasonCode >= 0x92 {
if pr.ReasonCode >= 0x80 {
//Received a failure code, continue
continue
} else {
Expand Down

0 comments on commit 39b3dab

Please sign in to comment.