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