[ammend for ac391a49a4] Thanks to real-bombinho for the fix

This commit is contained in:
hsaturn
2023-05-10 21:08:08 +02:00
parent 90435b1260
commit aa62bcaf02

View File

@@ -654,7 +654,7 @@ void MqttClient::processMessage(MqttMessage* mesg)
#if TINY_MQTT_DEBUG #if TINY_MQTT_DEBUG
Console << "Received Publish (" << published.str().c_str() << ") size=" << (int)len << endl; Console << "Received Publish (" << published.str().c_str() << ") size=" << (int)len << endl;
#endif #endif
// << '(' << string(payload, len).c_str() << ')' << " msglen=" << mesg->length() << endl;
const char* ID; // remove PublishID() to avoid misuse const char* ID; // remove PublishID() to avoid misuse
if (qos) { if (qos) {
ID = payload; ID = payload;