diff options
-rw-r--r-- | src/rpcserver.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index f78cb420f4..fb7a28db77 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -457,7 +457,7 @@ static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketA boost::ref(context), fUseSSL, conn, - boost::asio::placeholders::error)); + _1)); } @@ -481,6 +481,8 @@ static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, if (error) { delete conn; + // TODO: Actually handle errors + LogPrintf("%s: Error: %s\n", __func__, error.message()); } // Restrict callers by IP. It is important to |