From 3186928912a8661527cbbf8d3f2dd58853a21fbd Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 11 Dec 2018 13:34:28 +0100 Subject: [PATCH] minfix --- packet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packet.h b/packet.h index 82fe9a4..3ca01e6 100644 --- a/packet.h +++ b/packet.h @@ -58,7 +58,7 @@ protected: resizeMessage(){ msg.data = realloc(msg.data, (msg.size+1) * sizeof(uint8_t)); - // memset(msg.data, 0, msg.size+1); + memset(msg.data, 0, msg.size+1); } };