mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Merge branch 'master' of github.com:jedmccaleb/NewCoin
This commit is contained in:
@@ -723,8 +723,8 @@ Json::Value RPCServer::doConnect(Json::Value& params)
|
||||
iPort = boost::lexical_cast<int>(strPort);
|
||||
}
|
||||
|
||||
if (!theApp->getConnectionPool().connectTo(strIp, iPort))
|
||||
return "connected";
|
||||
// XXX Validate legal IP and port
|
||||
theApp->getConnectionPool().connectTo(strIp, iPort);
|
||||
|
||||
return "connecting";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user