Commit b925358d authored by Ian Craggs's avatar Ian Craggs

Add MQTTVersion fields to Trace output for MQTTClient, to match MQTTAsync

parent 6e79a6b0
...@@ -232,7 +232,7 @@ int MQTTClient_create(MQTTClient* handle, char* serverURI, char* clientId, ...@@ -232,7 +232,7 @@ int MQTTClient_create(MQTTClient* handle, char* serverURI, char* clientId,
#if defined(HEAP_H) #if defined(HEAP_H)
Heap_initialize(); Heap_initialize();
#endif #endif
Log_initialize(NULL); Log_initialize((Log_nameValue*)MQTTClient_getVersionInfo());
bstate->clients = ListInitialize(); bstate->clients = ListInitialize();
Socket_outInitialize(); Socket_outInitialize();
Socket_setWriteCompleteCallback(MQTTClient_writeComplete); Socket_setWriteCompleteCallback(MQTTClient_writeComplete);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment