Skip to content

Commit

Permalink
Merge pull request #67 from daanpape/fix_wrong_remaining_length_size
Browse files Browse the repository at this point in the history
Fix wrong remaining length size
  • Loading branch information
LiamBindle authored Feb 5, 2020
2 parents 24b1de6 + 2345874 commit 399361f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mqtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ ssize_t mqtt_pack_publish_request(uint8_t *buf, size_t bufsz,
const uint8_t *const start = buf;
ssize_t rv;
struct mqtt_fixed_header fixed_header;
uint16_t remaining_length;
uint32_t remaining_length;
uint8_t inspected_qos;

/* check for null pointers */
Expand Down

0 comments on commit 399361f

Please sign in to comment.