diff --git a/everblu_meters.c b/everblu_meters.c index 3ae4866..8a0dd2a 100644 --- a/everblu_meters.c +++ b/everblu_meters.c @@ -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