aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-12-15 17:28:11 -0500
committerThomas Winget <tewinget@gmail.com>2014-12-15 17:28:11 -0500
commitdf53c0a595cb472f78954deeb293d983bdf02002 (patch)
treeac56936969ab888013afac3da5034e4fcebed8f9 /src
parentDNS seed timeout and fallback (diff)
downloadmonero-df53c0a595cb472f78954deeb293d983bdf02002.tar.xz
small typo in previous commit
Diffstat (limited to '')
-rw-r--r--src/p2p/net_node.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index c0aaad8ef..ee2d3974f 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -288,7 +288,7 @@ namespace nodetool
uint64_t sleep_interval_ms = 100;
while (sleep_count++ * sleep_interval_ms < CRYPTONOTE_DNS_TIMEOUT_MS)
{
- boost::this_thread::sleep(boost::posix_time::milliseconds());
+ boost::this_thread::sleep(boost::posix_time::milliseconds(sleep_interval_ms));
bool all_done = false;
for (auto& done : dns_finished)
{