Update mg_mqtt_next_subscribe_topic.md

This commit is contained in:
Evelyn 2016-07-25 17:25:00 +01:00 committed by GitHub
parent 033ca26216
commit 10eed010df

View File

@ -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.