fixed wrong string type after refactoring #546 (#643)

This commit is contained in:
Leon Kiefer authored and GitHub committed 2020-06-23 16:39:18 -05:00
1 parent 12a5033ca3
commit 6cc4ca4ed5
1 file changed
+1 -1
+1 -1
View File
@@ -521,7 +521,7 @@ void setup() {
IPAddress mqtt_server_ip;
WiFi.hostByName(mqtt_server_name, mqtt_server_ip);
client.setServer(mqtt_server_ip, port);
Log.trace(F("Mqtt server connection by host name: %s" CR), mqtt_server_ip.toString());
Log.trace(F("Mqtt server connection by host name: %s" CR), mqtt_server_ip.toString().c_str());
# else // if not by its IP adress
client.setServer(mqtt_server, port);
Log.trace(F("Mqtt server connection by IP: %s" CR), mqtt_server);