mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
cleanup code (spaces, tabs)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
d31cd2e5d6
commit
6b4ffcff5a
70 changed files with 848 additions and 847 deletions
|
@ -1249,7 +1249,7 @@ namespace stream
|
|||
return s;
|
||||
}
|
||||
|
||||
void StreamingDestination::SendPing (std::shared_ptr<const i2p::data::LeaseSet> remote)
|
||||
void StreamingDestination::SendPing (std::shared_ptr<const i2p::data::LeaseSet> remote)
|
||||
{
|
||||
auto s = std::make_shared<Stream> (m_Owner->GetService (), *this, remote, 0);
|
||||
s->SendPing ();
|
||||
|
@ -1277,7 +1277,7 @@ namespace stream
|
|||
{
|
||||
m_PacketsPool.CleanUp ();
|
||||
m_I2NPMsgsPool.CleanUp ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool StreamingDestination::DeleteStream (uint32_t recvStreamID)
|
||||
|
@ -1287,7 +1287,7 @@ namespace stream
|
|||
return false;
|
||||
auto s = it->second;
|
||||
m_Owner->GetService ().post ([this, s] ()
|
||||
{
|
||||
{
|
||||
s->Close (); // try to send FIN
|
||||
s->Terminate (false);
|
||||
DeleteStream (s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue