mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-20 19:41:58 +00:00
Fix doc example
This commit is contained in:
1 parent
5b272c2b5c
commit
f326cbedbe
1 file changed
+1
-1
+1
-1
@@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user