mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 21:15:58 +00:00
Do not use cout.
This commit is contained in:
@@ -36,7 +36,7 @@ RPCServer::RPCServer(boost::asio::io_service& io_service , NetworkOPs* nopNetwor
|
|||||||
|
|
||||||
void RPCServer::connected()
|
void RPCServer::connected()
|
||||||
{
|
{
|
||||||
//std::cout << "RPC request" << std::endl;
|
//std::cerr << "RPC request" << std::endl;
|
||||||
if (mSocket.remote_endpoint().address().to_string()=="127.0.0.1") mRole = RPCHandler::ADMIN;
|
if (mSocket.remote_endpoint().address().to_string()=="127.0.0.1") mRole = RPCHandler::ADMIN;
|
||||||
else mRole = RPCHandler::GUEST;
|
else mRole = RPCHandler::GUEST;
|
||||||
|
|
||||||
@@ -167,7 +167,7 @@ bool RPCServer::parseAcceptRate(const std::string& sAcceptRate)
|
|||||||
|
|
||||||
void RPCServer::handle_write(const boost::system::error_code& e)
|
void RPCServer::handle_write(const boost::system::error_code& e)
|
||||||
{
|
{
|
||||||
//std::cout << "async_write complete " << e << std::endl;
|
//std::cerr << "async_write complete " << e << std::endl;
|
||||||
|
|
||||||
if (!e)
|
if (!e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user