Skip to content

Commit 136ff53

Browse files
committed
修复bug
1 parent a9a2d87 commit 136ff53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mqttclient/mqttclient.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @Author: jiejie
33
* @Github: https://github.com/jiejieTop
44
* @Date: 2019-12-09 21:31:25
5-
* @LastEditTime : 2022-06-12 17:39:43
5+
* @LastEditTime : 2023-03-26 17:18:35
66
* @Description: the code belongs to jiejie, please keep the author information and source code according to the license.
77
*/
88
#include "mqttclient.h"
@@ -1462,6 +1462,7 @@ int mqtt_publish(mqtt_client_t* c, const char* topic_filter, mqtt_message_t* msg
14621462

14631463
int mqtt_list_subscribe_topic(mqtt_client_t* c)
14641464
{
1465+
int i = 0;
14651466
mqtt_list_t *curr, *next;
14661467
message_handlers_t *msg_handler;
14671468

0 commit comments

Comments
 (0)