Merge pull request #15 from endticket/master

fixed stepping of pointer to avoid re-parsing last bytes of settings in the client.
This commit is contained in:
Marek
2017-04-13 14:45:42 +02:00
committed by GitHub
+1
View File
@@ -509,6 +509,7 @@ void LiveScanClient::HandleSocket()
i += 1; i += 1;
m_iCompressionLevel = *(int*)(received.c_str() + i); m_iCompressionLevel = *(int*)(received.c_str() + i);
i += sizeof(int);
if (m_iCompressionLevel > 0) if (m_iCompressionLevel > 0)
m_bFrameCompression = true; m_bFrameCompression = true;
else else