From ba5a27e5f20f8b2a47cad9b75cb7f0acdfa13ca2 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 28 Aug 2025 12:10:01 +0200 Subject: [PATCH] style --- client/src/cmdmqtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdmqtt.c b/client/src/cmdmqtt.c index 1a0ea15ae..c2d16ce10 100644 --- a/client/src/cmdmqtt.c +++ b/client/src/cmdmqtt.c @@ -62,7 +62,7 @@ static void mqtt_publish_callback(void **unused, struct mqtt_response_publish *p static volatile int mqtt_client_should_exit = 0; static void *mqtt_client_refresher(void *client) { - while (!mqtt_client_should_exit) { + while (mqtt_client_should_exit == 0) { mqtt_sync((struct mqtt_client *) client); msleep(100); }