Browse Source

Fix clang warning

pull/1623/head
Dimitris Apostolou 4 years ago
parent
commit
67dab9b6d2
No known key found for this signature in database
GPG Key ID: 4B5D20E938204A8A
  1. 2
      libi2pd/NTCP2.cpp

2
libi2pd/NTCP2.cpp

@ -1519,7 +1519,7 @@ namespace transport @@ -1519,7 +1519,7 @@ namespace transport
boost::asio::streambuf * readbuff = new boost::asio::streambuf;
boost::asio::async_read_until(conn->GetSocket(), *readbuff, "\r\n\r\n",
[this, readbuff, timer, conn] (const boost::system::error_code & ec, std::size_t transferred)
[readbuff, timer, conn] (const boost::system::error_code & ec, std::size_t transferred)
{
if(ec)
{

Loading…
Cancel
Save