From beb04516a0ec2e4fcb16d5baba9c8310c2b0a334 Mon Sep 17 00:00:00 2001 From: Ian Craggs Date: Fri, 15 Aug 2025 17:55:34 +0100 Subject: [PATCH] Change must to must not call publish within message arrived callback #1598 --- src/MQTTClient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MQTTClient.h b/src/MQTTClient.h index 1713b03c..7b3f5725 100644 --- a/src/MQTTClient.h +++ b/src/MQTTClient.h @@ -1528,7 +1528,7 @@ LIBMQTT_API const char* MQTTClient_strerror(int code); * This server behaviour is allowed in MQTT 5.0, but not in MQTT 3.1.1, so the * disconnected callback will never be invoked if you use MQTT 3.1.1. * - * In particular, you must make a publish call within the message arrived callback. + * In particular, you must not make a publish call within the message arrived callback. * These restrictions are all lifted in the * MQTTAsync API. *