Browse Source

fixed crash

pull/373/head
orignal 9 years ago
parent
commit
c754b5ae18
  1. 2
      Streaming.cpp

2
Streaming.cpp

@ -598,7 +598,7 @@ namespace stream @@ -598,7 +598,7 @@ namespace stream
}
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);
if (m_CurrentRemoteLease && ts < m_CurrentRemoteLease->endDate)
{

Loading…
Cancel
Save