semicolon
This commit is contained in:
parent
f5f0739313
commit
7189754795
@ -139,7 +139,7 @@ int main(int argc, char *argv[])
|
|||||||
printf("Liters: %i\n", meter_data.liters);
|
printf("Liters: %i\n", meter_data.liters);
|
||||||
|
|
||||||
if(mosquitto_publish(mosq, NULL, mqtt_topic, strlen(buff),buff,0,false) != MOSQ_ERR_SUCCESS)
|
if(mosquitto_publish(mosq, NULL, mqtt_topic, strlen(buff),buff,0,false) != MOSQ_ERR_SUCCESS)
|
||||||
fprintf(stderr, "ERROR: could not publish message")
|
fprintf(stderr, "ERROR: could not publish message");
|
||||||
|
|
||||||
mosquitto_destroy(mosq);
|
mosquitto_destroy(mosq);
|
||||||
mosquitto_lib_cleanup();
|
mosquitto_lib_cleanup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user