MQTTPacket library (clone of https://os.mbed.com/teams/mqtt/code/MQTTPacket/)
Diff: MQTTPacket.c
- Revision:
- 19:99773f597e90
- Parent:
- 18:bf36e077e7b8
- Child:
- 23:7a52009beba1
--- a/MQTTPacket.c Mon Sep 29 11:31:13 2014 +0000 +++ b/MQTTPacket.c Mon Oct 06 12:00:12 2014 +0000 @@ -418,7 +418,7 @@ int grantedQoSs[1]; if (MQTTDeserialize_suback(&packetid, maxcount, &count, grantedQoSs, buf, buflen) == 1) strindex = snprintf(strbuf, strbuflen, - "SUBACK packet id %d count %d topic %.*s granted qos %d", + "SUBACK packet id %d count %d granted qos %d", packetid, count, grantedQoSs[0]); } break;