From aa62bcaf02263da5c47ecdce935ccbf133e1f16f Mon Sep 17 00:00:00 2001 From: hsaturn Date: Wed, 10 May 2023 21:08:08 +0200 Subject: [PATCH] [ammend for ac391a49a4562ab053f485fffc95ce9cb6a73098] Thanks to real-bombinho for the fix --- src/TinyMqtt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TinyMqtt.cpp b/src/TinyMqtt.cpp index dbaa9f9..d5a96d5 100644 --- a/src/TinyMqtt.cpp +++ b/src/TinyMqtt.cpp @@ -654,7 +654,7 @@ void MqttClient::processMessage(MqttMessage* mesg) #if TINY_MQTT_DEBUG Console << "Received Publish (" << published.str().c_str() << ") size=" << (int)len << endl; #endif - // << '(' << string(payload, len).c_str() << ')' << " msglen=" << mesg->length() << endl; + const char* ID; // remove PublishID() to avoid misuse if (qos) { ID = payload;