A modelling and serializer library for Microsoft Azure IoTHub client applications
Dependents: sht15_remote_monitoring f767zi_mqtt remote_monitoring simplesample_amqp ... more
This library implements a serializer library to be used in projects involving Microsoft Azure IoT Hub connectivity. The code is replicated from https://github.com/Azure/azure-iot-sdks
Diff: datapublisher.c
- Revision:
- 22:422d94bd3c18
- Parent:
- 21:6d3dea1abd9c
- Child:
- 33:30999a4089f1
diff -r 6d3dea1abd9c -r 422d94bd3c18 datapublisher.c --- a/datapublisher.c Tue Jan 24 15:24:19 2017 -0800 +++ b/datapublisher.c Sat Jan 28 09:35:06 2017 -0800 @@ -48,9 +48,7 @@ DATA_PUBLISHER_HANDLE_DATA* result; /* Codes_SRS_DATA_PUBLISHER_99_042:[ If a NULL argument is passed to it, DataPublisher_Create shall return NULL.] */ - if ( - (modelHandle == NULL) - ) + if (modelHandle == NULL) { result = NULL; LogError("(result = %s)", ENUM_TO_STRING(DATA_PUBLISHER_RESULT, DATA_PUBLISHER_INVALID_ARG));