From 9fe71b4495f26f37142cabed994bcc490fe29095 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Fri, 11 Jun 2021 10:45:04 +0100 Subject: [PATCH] Update udpserver.cpp --- udpserver.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/udpserver.cpp b/udpserver.cpp index 36cefda..038a57d 100644 --- a/udpserver.cpp +++ b/udpserver.cpp @@ -1239,12 +1239,11 @@ void udpServer::watchdog(QList* l, CLIENT* c) { QDateTime now = QDateTime::currentDateTime(); - emit haveNetworkStatus(QString("
Server connections: Control:%1 CI-V:%2 Audio:%3
").arg(controlClients.size()).arg(civClients.size()).arg(audioClients.size())); - if (c->lastHeard.secsTo(now) > STALE_CONNECTION) { qInfo(logUdpServer()) << c->ipAddress.toString() << "(" << c->type << "): Deleting stale connection "; deleteConnection(l, c); + emit haveNetworkStatus(QString("
Server connections: Control:%1 CI-V:%2 Audio:%3
").arg(controlClients.size()).arg(civClients.size()).arg(audioClients.size())); return; }