From c8c82770b7052abe60b8f2fcef437f0477be465a Mon Sep 17 00:00:00 2001 From: MarcEricMartel Date: Wed, 6 Dec 2023 16:48:53 -0500 Subject: [PATCH] Mr. Clean? --- SQCSim-common/netprotocol.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/SQCSim-common/netprotocol.cpp b/SQCSim-common/netprotocol.cpp index a8c5c9d..78a5fa9 100644 --- a/SQCSim-common/netprotocol.cpp +++ b/SQCSim-common/netprotocol.cpp @@ -928,12 +928,8 @@ bool netprot::Deserialize(Chat* chat, char* buf, uint32_t *buflen) { if (messsize > 140) return false; - std::cout << messsize << ": " << &buf[1 + sizeof(uint64_t) * 3] << std::endl; - char* ciboire = &buf[1 + sizeof(uint64_t) * 3]; - std::cout << ciboire << std::endl; - strcpy(chat->mess, 140, ciboire); //*buflen = messsize + sizeof(uint64_t) * 3 + 1;