This commit is contained in:
leo 2023-07-09 21:58:30 +02:00
parent b145fdf579
commit 2c5984c9b1
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB

View File

@ -111,7 +111,7 @@ int main(int argc, char *argv[])
//Connect to MQTT server
if(mosquitto_connect(mosq, MQTT_HOST, MQTT_PORT, MQTT_KEEP_ALIVE)){
fprintf(stderr, "ERROR: Unable to connect to MQTT broker (%s %i %s).\n", MQTT_HOST, MQTT_USER, MQTT_PORT);
fprintf(stderr, "ERROR: Unable to connect to MQTT broker (%s %i %s).\n", MQTT_HOST, MQTT_PORT, MQTT_USER);
return 1;
}
//Start a thread, and call mosquitto? Loop() continuously in the thread to process network information