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
Diff: iothub_client_ll_uploadtoblob.c
- Revision:
- 58:15b0d29b2667
- Parent:
- 57:4524910c6445
- Child:
- 60:41648c4e7036
diff -r 4524910c6445 -r 15b0d29b2667 iothub_client_ll_uploadtoblob.c --- a/iothub_client_ll_uploadtoblob.c Tue Jan 24 15:23:38 2017 -0800 +++ b/iothub_client_ll_uploadtoblob.c Sat Jan 28 09:34:27 2017 -0800 @@ -97,9 +97,9 @@ } else { - memcpy((char*)handleData->hostname, config->iotHubName, iotHubNameLength); + (void)memcpy((char*)handleData->hostname, config->iotHubName, iotHubNameLength); ((char*)handleData->hostname)[iotHubNameLength] = '.'; - memcpy((char*)handleData->hostname + iotHubNameLength + 1, config->iotHubSuffix, iotHubSuffixLength + 1); /*+1 will copy the \0 too*/ + (void)memcpy((char*)handleData->hostname + iotHubNameLength + 1, config->iotHubSuffix, iotHubSuffixLength + 1); /*+1 will copy the \0 too*/ if ((config->deviceSasToken != NULL) && (config->deviceKey == NULL)) { handleData->authorizationScheme = SAS_TOKEN;