fixed stepping of pointer to avoid re-parsing last bytes of settings data as separate commands and capture some frames after connecting

This commit is contained in:
Juhász Sándor
2017-04-12 16:45:11 +02:00
parent 429fec3e62
commit 51f66f4558
+1
View File
@@ -509,6 +509,7 @@ void LiveScanClient::HandleSocket()
i += 1;
m_iCompressionLevel = *(int*)(received.c_str() + i);
i += sizeof(int);
if (m_iCompressionLevel > 0)
m_bFrameCompression = true;
else