style
This commit is contained in:
1 parent
599aa22431
commit
ba5a27e5f2
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user