Browse Source

fix

cl-refactor
subtly 10 years ago
parent
commit
479bfc6d54
  1. 4
      eth/main.cpp

4
eth/main.cpp

@ -729,7 +729,7 @@ int main(int argc, char** argv)
}
vector<string> each;
boost::split(strs, peerset, boost::is_any_of("\t "));
boost::split(each, peerset, boost::is_any_of("\t "));
for (auto const& p: each)
{
string type;
@ -739,7 +739,7 @@ int main(int argc, char** argv)
// type:key@ip[:port]
vector<string> typeAndKeyAtHostAndPort;
boost::split(typeAndKeyAtHostAndPort, peerset, boost::is_any_of(":"));
boost::split(typeAndKeyAtHostAndPort, p, boost::is_any_of(":"));
if (typeAndKeyAtHostAndPort.size() < 2 || typeAndKeyAtHostAndPort.size() > 3)
continue;

Loading…
Cancel
Save