kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Fixed more bugs
rodzic
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);
|
||||
|
|
Ładowanie…
Reference in New Issue