aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net.cpp2
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;
}
}