Skip to content

Commit

Permalink
[ammend for ac391a4] Thanks to real-bombinho for the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hsaturn committed May 10, 2023
1 parent 90435b1 commit aa62bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TinyMqtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aa62bca

Please sign in to comment.