add debug print in timeout ping update

This commit is contained in:
Lion Kortlepel
2021-03-30 15:53:55 +02:00
parent e35d1b5457
commit b524aa67de
3 changed files with 6 additions and 2 deletions

View File

@@ -489,7 +489,8 @@ void TNetwork::TCPClient(const std::weak_ptr<TClient>& c) {
if (c.expired())
break;
auto Client = c.lock();
if (Client->GetStatus() <= -1) {
if (Client->GetStatus() < 0) {
debug("client status < 0, breaking client loop");
break;
}
TServer::GlobalParser(c, TCPRcv(*Client), mPPSMonitor, *this);