diff options
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 0f0a7bf8dc..37e7dfed4c 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1804,7 +1804,7 @@ void CConnman::ThreadOpenAddedConnections() } } // Retry every 60 seconds if a connection was attempted, otherwise two seconds - if (!interruptNet.sleep_for(std::chrono::seconds(tried ? 60 : 2))); + if (!interruptNet.sleep_for(std::chrono::seconds(tried ? 60 : 2))) return; } } |