diff --git a/src/cpp/ripple/CallRPC.cpp b/src/cpp/ripple/CallRPC.cpp index 6cf4ffa9a..c04f1cdf6 100644 --- a/src/cpp/ripple/CallRPC.cpp +++ b/src/cpp/ripple/CallRPC.cpp @@ -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);