Azure IoT common library
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
Diff: consolelogger.c
- Revision:
- 45:1119d0f2c4d8
- Parent:
- 27:8656a313842b
- Child:
- 48:81866008bba4
--- a/consolelogger.c Fri May 04 13:26:26 2018 -0700 +++ b/consolelogger.c Mon Jun 11 15:41:10 2018 -0700 @@ -115,14 +115,14 @@ /*the function will also attempt to produce some human readable strings for GetLastError*/ void consolelogger_log_with_GetLastError(const char* file, const char* func, int line, const char* format, ...) { - DWORD lastError; - char* lastErrorAsString; - int lastErrorAsString_should_be_freed; - time_t t; + DWORD lastError; + char* lastErrorAsString; + int lastErrorAsString_should_be_freed; + time_t t; int systemMessage_should_be_freed; - char* systemMessage; + char* systemMessage; int userMessage_should_be_freed; - char* userMessage; + char* userMessage; va_list args; va_start(args, format);