Skip to content

Commit

Permalink
fixup! Implement MConnect::write
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasbeyer committed Mar 21, 2024
1 parent ed1f2db commit 4c5612e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mqtt-format/src/v5/packets/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl<'i> MConnect<'i> {
qos << 3
};
let will_retain = (will.will_retain as u8) << 5;
will_flag & will_qos & will_retain
will_flag | will_qos | will_retain
} else {
0
}
Expand Down

0 comments on commit 4c5612e

Please sign in to comment.