Skip to content

Commit

Permalink
Fix message length
Browse files Browse the repository at this point in the history
  • Loading branch information
ewoutp committed Jan 27, 2018
1 parent bd97172 commit 358a6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mqtt_message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ abstract class MqttMessage {
multiplier *= 128;
} while ( (digit & 0x80) != 0);

len = remLength + 2;
len = remLength + pos;

return pos;
}
Expand Down

0 comments on commit 358a6c3

Please sign in to comment.