Browse Source

fixed warning

pull/2016/head
orignal 10 months ago
parent
commit
d8be5b8ce1
  1. 2
      libi2pd/Socks5.h

2
libi2pd/Socks5.h

@ -63,7 +63,7 @@ namespace transport
{ {
len += 2; // port len += 2; // port
boost::asio::async_read(s, boost::asio::buffer(readbuff->data (), len), boost::asio::transfer_all(), boost::asio::async_read(s, boost::asio::buffer(readbuff->data (), len), boost::asio::transfer_all(),
[readbuff, &s, handler](const boost::system::error_code& ec, std::size_t transferred) [readbuff, handler](const boost::system::error_code& ec, std::size_t transferred)
{ {
if (!ec) if (!ec)
handler (boost::system::error_code ()); // success handler (boost::system::error_code ()); // success

Loading…
Cancel
Save