Microsoft Azure IoTHub client AMQP transport
Dependents: sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp iothub_client_sample_amqp ... more
This library implements the AMQP transport for Microsoft Azure IoTHub client. The code is replicated from https://github.com/Azure/azure-iot-sdks
Diff: iothubtransport_amqp_telemetry_messenger.c
- Revision:
- 50:f3a92c6c6534
- Parent:
- 46:c688c75b63b9
- Child:
- 51:269e65571b39
--- a/iothubtransport_amqp_telemetry_messenger.c Thu Feb 15 11:33:47 2018 -0800 +++ b/iothubtransport_amqp_telemetry_messenger.c Mon Mar 05 17:39:14 2018 -0800 @@ -882,26 +882,6 @@ } -static int singlylinkedlist_clear(SINGLYLINKEDLIST_HANDLE list) -{ - int result; - LIST_ITEM_HANDLE list_item; - - result = RESULT_OK; - - while ((list_item = singlylinkedlist_get_head_item(list)) != NULL) - { - if (singlylinkedlist_remove(list, list_item) != RESULT_OK) - { - LogError("Failed removing items from list (%d)", list); - result = __FAILURE__; - break; - } - } - - return result; -} - static int move_events_to_wait_to_send_list(TELEMETRY_MESSENGER_INSTANCE* instance) { int result;