diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-12-15 17:28:11 -0500 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2014-12-15 17:28:11 -0500 |
commit | df53c0a595cb472f78954deeb293d983bdf02002 (patch) | |
tree | ac56936969ab888013afac3da5034e4fcebed8f9 /src/p2p | |
parent | DNS seed timeout and fallback (diff) | |
download | monero-df53c0a595cb472f78954deeb293d983bdf02002.tar.xz |
small typo in previous commit
Diffstat (limited to 'src/p2p')
-rw-r--r-- | src/p2p/net_node.inl | 2 |
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) { |