A small footprint MQTT library

Dependents:   STM32F746_iothub_client_sample_mqtt FXOS8700CQ_To_Azure_IoT f767zi_mqtt FXOS8700CQ_To_Azure_IoT ... more

Files at this revision

API Documentation at this revision

Comitter:
AzureIoTClient
Date:
Thu Oct 04 09:16:34 2018 -0700
Parent:
29:7bb0aae34648
Commit message:
1.2.10

Changed in this revision

mqtt_message.c Show annotated file Show diff for this revision Revisions of this file
diff -r 7bb0aae34648 -r 712bcbf21afa mqtt_message.c
--- a/mqtt_message.c	Tue Sep 11 11:14:10 2018 -0700
+++ b/mqtt_message.c	Thu Oct 04 09:16:34 2018 -0700
@@ -99,7 +99,7 @@
                     if (result->appPayload.message == NULL)
                     {
                         /* Codes_SRS_MQTTMESSAGE_07_003: [If any memory allocation fails mqttmessage_create shall free any allocated memory and return NULL.] */
-                        LogError("Failure allocating message value of %uz", appMsgLength);
+                        LogError("Failure allocating message value of %zu", appMsgLength);
                         free(result->topicName);
                         free(result);
                         result = NULL;