From 085e9da0e65015d49e1e9e37f247d068dc65969a Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 9 Jul 2023 19:54:12 +0200 Subject: [PATCH] Debug info --- everblu_meters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/everblu_meters.c b/everblu_meters.c index 207c4a9..c50dc06 100644 --- a/everblu_meters.c +++ b/everblu_meters.c @@ -100,7 +100,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.\n"); + fprintf(stderr, "ERROR: Unable to connect to MQTT broker (%s %i %s).\n", MQTT_HOST, MQTT_USER, MQTT_PORT); return 1; } //Start a thread, and call mosquitto? Loop() continuously in the thread to process network information