Fix doc example

This commit is contained in:
cpq committed 2021-03-09 17:44:15 +00:00
1 parent 5b272c2b5c
commit f326cbedbe
1 file changed
+1 -1
+1 -1
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));
}
}
}