[network/kdeconnect-kde] core/backends/lan: Fix copy-pasted return that should be a continue like the rest
Albert Vaca Cintora <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 7c62d9e3187c03b4e4b9d2b3d85fb43abae239b5 by Albert Vaca Cintora.
Committed on 15/08/2026 at 11:04.
Pushed by albertvaka into branch 'master'.
Fix copy-pasted return that should be a continue like the rest
M +1 -1 core/backends/lan/lanlinkprovider.cpp
https://invent.kde.org/network/kdeconnect-kde/-/commit/7c62d9e3187c03b4e4b9d2b3d85fb43abae239b5
diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp
index 832867196..e3f7292be 100644
--- a/core/backends/lan/lanlinkprovider.cpp
+++ b/core/backends/lan/lanlinkprovider.cpp
@@ -309,7 +309,7 @@ void LanLinkProvider::udpBroadcastReceived()
qint64 now = QDateTime::currentMSecsSinceEpoch();
if (m_lastConnectionTime[deviceId] + MILLIS_DELAY_BETWEEN_CONNECTIONS_TO_SAME_DEVICE > now) {
qCDebug(KDECONNECT_CORE) << "Discarding second UPD packet from the same device" << deviceId << "received too quickly";
- return;
+ continue;
}
m_lastConnectionTime[deviceId] = now;