Skip to content

Commit 3e30f13

Browse files
Copilotithewei
andcommitted
Add documentation comment for mid_ field in mqtt_client_s
Co-authored-by: ithewei <26049660+ithewei@users.noreply.github.com>
1 parent 2bdf6f1 commit 3e30f13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mqtt/mqtt_client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct mqtt_client_s {
5353
hssl_ctx_t ssl_ctx;
5454
// thread-safe
5555
hmutex_t mutex_;
56-
unsigned short mid_;
56+
unsigned short mid_; // message ID counter, protected by mutex_
5757
};
5858

5959
BEGIN_EXTERN_C

0 commit comments

Comments
 (0)