mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
fixed warning
This commit is contained in:
parent
dddbca6ffb
commit
d8be5b8ce1
@ -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…
Reference in New Issue
Block a user