Browse Source

fix typo

pull/628/head
Jeff Becker 8 years ago
parent
commit
7ea8509dfe
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 2
      Datagram.cpp

2
Datagram.cpp

@ -343,7 +343,7 @@ namespace datagram @@ -343,7 +343,7 @@ namespace datagram
{
if(routingPath->remoteLease)
{
if(routingPath->remoteLease->ExpiresSoon())
if(routingPath->remoteLease->ExpiresWithin(DATAGRAM_SESSION_LEASE_HANDOVER_WINDOW, DATAGRAM_SESSION_LEASE_HANDOVER_FUDGE))
lease = GetNextLease();
else
lease = routingPath->remoteLease;

Loading…
Cancel
Save