mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-09 15:50:26 +03:00
fixed warning
This commit is contained in:
parent
dddbca6ffb
commit
d8be5b8ce1
@ -63,7 +63,7 @@ namespace transport
|
||||
{
|
||||
len += 2; // port
|
||||
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)
|
||||
handler (boost::system::error_code ()); // success
|
||||
|
Loading…
Reference in New Issue
Block a user