Report correct target for callRPC.

This commit is contained in:
Arthur Britto
2012-12-30 17:02:01 -08:00
parent 6ba31accb2
commit 6592f9de39

View File

@@ -601,7 +601,7 @@ Json::Value callRPC(const std::string& strIp, const int iPort, const std::string
{
// Connect to localhost
if (!theConfig.QUIET)
std::cerr << "Connecting to: " << theConfig.RPC_IP << ":" << theConfig.RPC_PORT << std::endl;
std::cerr << "Connecting to: " << strIp << ":" << iPort << std::endl;
boost::asio::ip::tcp::endpoint
endpoint(boost::asio::ip::address::from_string(strIp), iPort);