SQC-15_online #1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user