mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
CR fixes
This commit is contained in:
parent
3c0c1413db
commit
c5883a8d67
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ NodeConnectionData NodeConnectionData::fromDataStream(QDataStream& dataStream, c
|
|||
// and the operating system type
|
||||
QByteArray compressedSystemInfo;
|
||||
dataStream >> compressedSystemInfo;
|
||||
if(!compressedSystemInfo.isEmpty()) {
|
||||
if (!compressedSystemInfo.isEmpty()) {
|
||||
newHeader.SystemInfo = qUncompress(compressedSystemInfo);
|
||||
}
|
||||
|
||||
|
|
|
@ -426,7 +426,7 @@ void NodeList::sendDomainServerCheckIn() {
|
|||
QByteArray systemInfo(desc.dump().c_str());
|
||||
QByteArray compressedSystemInfo = qCompress(systemInfo);
|
||||
|
||||
if(compressedSystemInfo.size() > MAX_SYSTEM_INFO_SIZE) {
|
||||
if (compressedSystemInfo.size() > MAX_SYSTEM_INFO_SIZE) {
|
||||
// Highly unlikely, as not even unreasonable machines will
|
||||
// overflow the max size, but prevent MTU overflow anyway.
|
||||
// We could do something sophisticated like clearing specific
|
||||
|
|
Loading…
Reference in a new issue