Mr. Clean?
This commit is contained in:
parent
84249ef84c
commit
c8c82770b7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user