Commit e378bc1e authored by Ian Craggs's avatar Ian Craggs

Add a trace message to MQTTAsync.c

parent 399968b6
......@@ -50,8 +50,8 @@
#define URI_TCP "tcp://"
#define BUILD_TIMESTAMP "201408221458"
#define CLIENT_VERSION "1.0.0"
#define BUILD_TIMESTAMP "##MQTTCLIENT_BUILD_TAG##"
#define CLIENT_VERSION "##MQTTCLIENT_VERSION_TAG##"
char* client_timestamp_eye = "MQTTAsyncV3_Timestamp " BUILD_TIMESTAMP;
char* client_version_eye = "MQTTAsyncV3_Version " CLIENT_VERSION;
......@@ -1487,6 +1487,7 @@ thread_return_type WINAPI MQTTAsync_receiveThread(void* n)
}
if (rc == SOCKET_ERROR)
{
Log(TRACE_MINIMUM, -1, "Error from MQTTAsync_cycle() - removing socket %d", sock);
if (m->c->connected == 1)
{
MQTTAsync_unlock_mutex(mqttasync_mutex);
......
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