Browse Source

use explicit name of const

cl-refactor
subtly 10 years ago
parent
commit
8568370a49
  1. 2
      libp2p/Network.cpp

2
libp2p/Network.cpp

@ -214,7 +214,7 @@ bi::tcp::endpoint Network::resolveHost(string const& _addr)
vector<string> split;
boost::split(split, _addr, boost::is_any_of(":"));
unsigned port = split.size() > 1 ? stoi(split[1]) : c_defaultIPPort;
unsigned port = split.size() > 1 ? stoi(split[1]) : dev::p2p::c_defaultIPPort;
bi::tcp::endpoint ep(bi::address(), port);
boost::system::error_code ec;

Loading…
Cancel
Save