[ammend for ac391a49a4] Thanks to real-bombinho for the fix
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user