face: Fix minor typo in TcpChannel method name.
Change-Id: I93d8ba199de972422e9380455e13254085438720
diff --git a/daemon/face/tcp-channel.cpp b/daemon/face/tcp-channel.cpp
index 34b734a..a983db6 100644
--- a/daemon/face/tcp-channel.cpp
+++ b/daemon/face/tcp-channel.cpp
@@ -100,7 +100,7 @@
make_shared<ip::tcp::resolver>(boost::ref(m_ioService));
resolver->async_resolve(query,
- bind(&TcpChannel::handleEndpointResoution, this, _1, _2,
+ bind(&TcpChannel::handleEndpointResolution, this, _1, _2,
clientSocket, connectTimeoutTimer,
onFaceCreated, onConnectFailed,
resolver));
@@ -221,13 +221,13 @@
}
void
-TcpChannel::handleEndpointResoution(const boost::system::error_code& error,
- ip::tcp::resolver::iterator remoteEndpoint,
- const shared_ptr<boost::asio::ip::tcp::socket>& socket,
- const shared_ptr<boost::asio::monotonic_deadline_timer>& timer,
- const FaceCreatedCallback& onFaceCreated,
- const ConnectFailedCallback& onConnectFailed,
- const shared_ptr<ip::tcp::resolver>& resolver)
+TcpChannel::handleEndpointResolution(const boost::system::error_code& error,
+ ip::tcp::resolver::iterator remoteEndpoint,
+ const shared_ptr<boost::asio::ip::tcp::socket>& socket,
+ const shared_ptr<boost::asio::monotonic_deadline_timer>& timer,
+ const FaceCreatedCallback& onFaceCreated,
+ const ConnectFailedCallback& onConnectFailed,
+ const shared_ptr<ip::tcp::resolver>& resolver)
{
if (error ||
remoteEndpoint == ip::tcp::resolver::iterator())
@@ -253,5 +253,4 @@
onFaceCreated, onConnectFailed));
}
-
} // namespace nfd
diff --git a/daemon/face/tcp-channel.hpp b/daemon/face/tcp-channel.hpp
index 354c849..ca05dee 100644
--- a/daemon/face/tcp-channel.hpp
+++ b/daemon/face/tcp-channel.hpp
@@ -124,13 +124,13 @@
const ConnectFailedCallback& onConnectFailed);
void
- handleEndpointResoution(const boost::system::error_code& error,
- boost::asio::ip::tcp::resolver::iterator remoteEndpoint,
- const shared_ptr<boost::asio::ip::tcp::socket>& socket,
- const shared_ptr<boost::asio::monotonic_deadline_timer>& timer,
- const FaceCreatedCallback& onFaceCreated,
- const ConnectFailedCallback& onConnectFailed,
- const shared_ptr<boost::asio::ip::tcp::resolver>& resolver);
+ handleEndpointResolution(const boost::system::error_code& error,
+ boost::asio::ip::tcp::resolver::iterator remoteEndpoint,
+ const shared_ptr<boost::asio::ip::tcp::socket>& socket,
+ const shared_ptr<boost::asio::monotonic_deadline_timer>& timer,
+ const FaceCreatedCallback& onFaceCreated,
+ const ConnectFailedCallback& onConnectFailed,
+ const shared_ptr<boost::asio::ip::tcp::resolver>& resolver);
private:
boost::asio::io_service& m_ioService;