additional null checks in player, gameselector, remoteclient, log (#2514)

This commit is contained in:
Zach H 2017-03-19 12:55:55 -04:00 committed by GitHub
parent 212a7d00db
commit 0da2bdd7aa
4 changed files with 26 additions and 7 deletions

View file

@ -283,7 +283,7 @@ void RemoteClient::readData()
#ifdef QT_DEBUG
qDebug() << "IN" << messageLength << QString::fromStdString(newServerMessage.ShortDebugString());
#endif
inputBuffer.remove(0, messageLength);
qDebug() << inputBuffer.remove(0, messageLength);
messageInProgress = false;
processProtocolItem(newServerMessage);