Browse Source

fixed typo

pull/690/head
orignal 8 years ago
parent
commit
28cf351878
  1. 2
      Streaming.cpp

2
Streaming.cpp

@ -665,7 +665,7 @@ namespace stream
(m_RoutingSession->IsLeaseSetUpdated () || m_RoutingSession->IsLeaseSetNonConfirmed ())) (m_RoutingSession->IsLeaseSetUpdated () || m_RoutingSession->IsLeaseSetNonConfirmed ()))
{ {
auto leases = m_RemoteLeaseSet->GetNonExpiredLeases (true); // with threshold auto leases = m_RemoteLeaseSet->GetNonExpiredLeases (true); // with threshold
if (leases.empty ()) if (!leases.empty ())
{ {
auto outboundTunnel = m_LocalDestination.GetOwner ()->GetTunnelPool ()->GetNextOutboundTunnel (); auto outboundTunnel = m_LocalDestination.GetOwner ()->GetTunnelPool ()->GetNextOutboundTunnel ();
if (outboundTunnel) if (outboundTunnel)

Loading…
Cancel
Save