Commit 54957bdd authored by Ian Craggs's avatar Ian Craggs

Fix for issue #179

parent a20a9fb9
...@@ -237,7 +237,7 @@ void onSubscribeFailure(void* context, MQTTAsync_failureData* response) ...@@ -237,7 +237,7 @@ void onSubscribeFailure(void* context, MQTTAsync_failureData* response)
void onConnectFailure(void* context, MQTTAsync_failureData* response) void onConnectFailure(void* context, MQTTAsync_failureData* response)
{ {
printf("Connect failed, rc %d\n", response->code); printf("Connect failed, rc %d\n", response ? response->code : -99);
finished = 1; finished = 1;
} }
......
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