diff --git a/inc/Message.hpp b/inc/Message.hpp index a6ad919df220264f39e3aeb58a522f11a416a88d..0e311b4e1b796b00cb0bd6294a3b5afd9e5cb651 100644 --- a/inc/Message.hpp +++ b/inc/Message.hpp @@ -410,7 +410,7 @@ public: uint16_t size = readUint16(); // Get the data length from the message readString(byteString, size); // Read the string data - return size; // Return the read string pointer + return size; // Return the string size } /**