Fix multiple small issues :)

This commit is contained in:
Lion Kortlepel
2020-11-11 11:24:36 +01:00
parent 8f05cdcc61
commit 308500c01f
6 changed files with 13 additions and 12 deletions

View File

@@ -70,7 +70,7 @@ void TCPRcv(Client*c){
return;
}
BytesRcv += Temp;
}while(BytesRcv < sizeof(Header));
}while(size_t(BytesRcv) < sizeof(Header));
memcpy(&Header,&Data[0],sizeof(Header));
#ifdef DEBUG