Skip to content

Commit

Permalink
Improve failed to connect error message
Browse files Browse the repository at this point in the history
  • Loading branch information
glynhudson committed May 26, 2016
1 parent 4795614 commit 6e8d6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lwrfmqtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ int main(int argc, char* argv[])

if ((rc = MQTTClient_connect(client, &conn_opts)) != MQTTCLIENT_SUCCESS)
{
log_msg("Failed to connect, return code %d\n", rc);
log_msg("Failed to connect to MQTT, return code %d\n", rc);
exit(-1);
}
connected = TRUE;
Expand Down

0 comments on commit 6e8d6e6

Please sign in to comment.