Commit 480a849a authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix total-disablement of MQTT support in previous crash-fix-commit

parent 29460b51
Pipeline #3579 passed with stage
in 6 minutes and 10 seconds
......@@ -473,7 +473,7 @@ int mqtt_startup(struct startup* startup, scfg_t* cfg, const char* version
int result = MQTT_FAILURE;
char str[128];
if(startup == NULL || startup->mqtt.cfg == NULL)
if(startup == NULL || cfg == NULL)
return MQTT_FAILURE;
if(!cfg->mqtt.enabled)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment