AsyncTcp
This commit is contained in:
hsaturn
2021-04-10 14:03:36 +02:00
committed by hsaturn
parent d666f6a53b
commit c75f4893e8
6 changed files with 6 additions and 13 deletions

View File

@@ -672,6 +672,7 @@ void MqttMessage::add(const char* p, size_t len, bool addLength)
{
if (addLength)
{
buffer.reserve(buffer.length()+addLength+2);
incoming(len>>8);
incoming(len & 0xFF);
}