MQTTPacket
Fork of MQTTPacket by
Diff: MQTTConnectServer.c
- Revision:
- 22:a487a702b185
- Parent:
- 17:c5bd28cc139a
--- a/MQTTConnectServer.c Mon Aug 03 12:38:58 2015 +0000 +++ b/MQTTConnectServer.c Fri Aug 25 15:07:47 2017 +0000 @@ -61,7 +61,7 @@ FUNC_ENTRY; header.byte = readChar(&curdata); - if (header.bits.type != CONNECT) + if (header.bits.type != CONNECT_1) goto exit; curdata += MQTTPacket_decodeBuf(curdata, &mylen); /* read remaining length */