Mr. Clean?

This commit is contained in:
MarcEricMartel 2023-12-06 16:48:53 -05:00
parent 84249ef84c
commit c8c82770b7

View File

@ -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;