[style] clean trailing spaces and tabs

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2023-01-03 21:25:19 +03:00
parent 22179400c7
commit 503f522cc3
No known key found for this signature in database
GPG key ID: 66F6C87B98EBCFE2
24 changed files with 173 additions and 173 deletions

View file

@ -284,12 +284,12 @@ namespace tunnel
}
num = m_NumOutboundTunnels - num;
if (num > 0)
{
{
if (num > TUNNEL_POOL_MAX_NUM_BUILD_REQUESTS) num = TUNNEL_POOL_MAX_NUM_BUILD_REQUESTS;
for (int i = 0; i < num; i++)
CreateOutboundTunnel ();
}
}
num = 0;
{
std::unique_lock<std::mutex> l(m_InboundTunnelsMutex);
@ -307,12 +307,12 @@ namespace tunnel
}
num = m_NumInboundTunnels - num;
if (num > 0)
{
{
if (num > TUNNEL_POOL_MAX_NUM_BUILD_REQUESTS) num = TUNNEL_POOL_MAX_NUM_BUILD_REQUESTS;
for (int i = 0; i < num; i++)
CreateInboundTunnel ();
}
if (num < m_NumInboundTunnels && m_NumInboundHops <= 0 && m_LocalDestination) // zero hops IB
m_LocalDestination->SetLeaseSetUpdated (); // update LeaseSet immediately
}