mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-18 23:36:39 +01:00
fixed crash
This commit is contained in:
parent
481fafc11d
commit
c754b5ae18
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ namespace stream
|
||||||
}
|
}
|
||||||
|
|
||||||
auto ts = i2p::util::GetMillisecondsSinceEpoch ();
|
auto ts = i2p::util::GetMillisecondsSinceEpoch ();
|
||||||
if (m_CurrentRemoteLease || ts >= m_CurrentRemoteLease->endDate - i2p::tunnel::TUNNEL_EXPIRATION_THRESHOLD*1000)
|
if (!m_CurrentRemoteLease || ts >= m_CurrentRemoteLease->endDate - i2p::tunnel::TUNNEL_EXPIRATION_THRESHOLD*1000)
|
||||||
UpdateCurrentRemoteLease (true);
|
UpdateCurrentRemoteLease (true);
|
||||||
if (m_CurrentRemoteLease && ts < m_CurrentRemoteLease->endDate)
|
if (m_CurrentRemoteLease && ts < m_CurrentRemoteLease->endDate)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue