Microsoft Azure IoTHub client libraries

Dependents:   sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp f767zi_mqtt ... more

This library implements the Microsoft Azure IoTHub client library. The code is replicated from https://github.com/Azure/azure-iot-sdks

Revision:
60:41648c4e7036
Parent:
57:4524910c6445
Child:
61:8b85a4e797cf
--- a/iothub_message.c	Fri Feb 10 17:00:39 2017 -0800
+++ b/iothub_message.c	Fri Feb 24 14:00:43 2017 -0800
@@ -2,6 +2,7 @@
 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
 
 #include <stdlib.h>
+#include "azure_c_shared_utility/optimize_size.h"
 #include "azure_c_shared_utility/gballoc.h"
 #include "azure_c_shared_utility/xlogging.h"
 #include "azure_c_shared_utility/buffer_.h"
@@ -50,7 +51,7 @@
     int result;
     if (!ContainsOnlyUsAscii(mapKey) || !ContainsOnlyUsAscii(mapValue) )
     {
-        result = __LINE__;
+        result = __FAILURE__;
     }
     else
     {