SQC-15_online #1

Merged
memartel_loc merged 349 commits from SQC-15_online into master 2023-12-10 17:41:26 -05:00
Showing only changes of commit 57bfacf942 - Show all commits

View File

@ -930,12 +930,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;