Added MQTTPacket_Read() in MQTTPacket.h
Fork of MQTTPacket by
Revision 6:68a06bea5429, committed 2014-04-14
- Comitter:
- Ian Craggs
- Date:
- Mon Apr 14 21:59:59 2014 +0100
- Parent:
- 5:eea71419676a
- Child:
- 7:1b8fb13fc6ef
- Commit message:
- Make sure MQTTString is initialized properly in deserialization
Changed in this revision
MQTTPacket.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/MQTTPacket.c Mon Apr 14 18:49:32 2014 +0000 +++ b/MQTTPacket.c Mon Apr 14 21:59:59 2014 +0100 @@ -227,6 +227,7 @@ rc = 1; } } + mqttstring->cstring = NULL; FUNC_EXIT_RC(rc); return rc; }