From f326cbedbef72b6152e3b75e335d93376be99de7 Mon Sep 17 00:00:00 2001 From: cpq Date: Tue, 9 Mar 2021 17:44:15 +0000 Subject: [PATCH] Fix doc example --- docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index c175e401..e88d114c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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)); } } }