Fix doc example

This commit is contained in:
cpq 2021-03-09 17:44:15 +00:00
parent 5b272c2b5c
commit f326cbedbe

View File

@ -967,7 +967,7 @@ if (ev == MG_EV_MQTT_CMD) {
uint8_t qos;
struct mg_str topic;
while ((pos = mg_mqtt_next_sub(mm, &topic, &qos, pos)) > 0) {
LOG(LL_INFO, ("SUB [%.*s]", c->id, (int) topic.len, topic.ptr));
LOG(LL_INFO, ("SUB [%.*s]", (int) topic.len, topic.ptr));
}
}
}