Microsoft Azure IoTHub client MQTT transport

Dependents:   STM32F746_iothub_client_sample_mqtt FXOS8700CQ_To_Azure_IoT f767zi_mqtt FXOS8700CQ_To_Azure_IoT ... more

Revision:
38:369a06de92aa
Parent:
37:e6a799428f3d
Child:
39:6231984e0179
--- a/iothubtransport_mqtt_common.c	Mon Apr 16 14:25:25 2018 -0700
+++ b/iothubtransport_mqtt_common.c	Fri May 04 13:23:47 2018 -0700
@@ -1962,7 +1962,7 @@
             {
                 LogError("mqtt_client timed out waiting for CONNACK");
                 DisconnectFromClient(transport_data);
-                result = 0;
+                result = __FAILURE__;
             }
         }
         else if (transport_data->mqttClientStatus == MQTT_CLIENT_STATUS_CONNECTED)