mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-27 20:59:00 +08:00
Fix doc example
This commit is contained in:
parent
5b272c2b5c
commit
f326cbedbe
@ -967,7 +967,7 @@ if (ev == MG_EV_MQTT_CMD) {
|
|||||||
uint8_t qos;
|
uint8_t qos;
|
||||||
struct mg_str topic;
|
struct mg_str topic;
|
||||||
while ((pos = mg_mqtt_next_sub(mm, &topic, &qos, pos)) > 0) {
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user