From 10eed010dfb43cf99ee5cb254cadba237f93c30c Mon Sep 17 00:00:00 2001 From: Evelyn <evelyn@cesanta.com> Date: Mon, 25 Jul 2016 17:25:00 +0100 Subject: [PATCH] Update mg_mqtt_next_subscribe_topic.md --- docs/c-api/mqtt.h/mg_mqtt_next_subscribe_topic.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/c-api/mqtt.h/mg_mqtt_next_subscribe_topic.md b/docs/c-api/mqtt.h/mg_mqtt_next_subscribe_topic.md index 3e7eeab52..ccb96e620 100644 --- a/docs/c-api/mqtt.h/mg_mqtt_next_subscribe_topic.md +++ b/docs/c-api/mqtt.h/mg_mqtt_next_subscribe_topic.md @@ -7,9 +7,9 @@ signature: | struct mg_str *topic, uint8_t *qos, int pos); --- -Extract the next topic expression from a SUBSCRIBE command payload. +Extracts the next topic expression from a SUBSCRIBE command payload. -Topic expression name will point to a string in the payload buffer. -Return the pos of the next topic expression or -1 when the list +The topic expression name will point to a string in the payload buffer. +Returns the pos of the next topic expression or -1 when the list of topics is exhausted. -- GitLab