mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-06 18:57:39 +01:00
Fixed more bugs
This commit is contained in:
parent
4b43da095e
commit
c9f1ec0a8a
@ -93,8 +93,7 @@ namespace spyserver {
|
||||
SpyServerClientClass* _this = (SpyServerClientClass*)ctx;
|
||||
|
||||
if (count < sizeof(SpyServerMessageHeader)) {
|
||||
printf("ERROR: Incomplete message header\n");
|
||||
return;
|
||||
_this->readSize(sizeof(SpyServerMessageHeader)-count, &buf[count]);
|
||||
}
|
||||
|
||||
int size = _this->readSize(_this->receivedHeader.BodySize, _this->readBuf);
|
||||
|
Loading…
Reference in New Issue
Block a user