aboutsummaryrefslogtreecommitdiff
path: root/src/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/packet.h')
-rw-r--r--src/packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/packet.h b/src/packet.h
index 36dc81f..a5e2ce7 100644
--- a/src/packet.h
+++ b/src/packet.h
@@ -53,6 +53,8 @@ struct MqttPacket
int state;
uint16_t id;
size_t remainingLength;
+ size_t remainingLengthMul;
+ /* TODO: maybe switch to have a StringStream here? */
bstring payload;
struct MqttMessage *message;
SIMPLEQ_ENTRY(MqttPacket) sendQueue;