Browse Source

fix another typo

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

4
Datagram.cpp

@ -403,8 +403,8 @@ namespace datagram @@ -403,8 +403,8 @@ namespace datagram
{
auto end = std::end(exclude);
return std::find_if(exclude.begin(), end, [l, now] ( const i2p::data::IdentHash & ident) -> bool {
return ident == l.tunnelGateway || l.ExpiresWithin (DATAGRAM_SESSION_LEASE_HANDOVER_WINDOW, DATAGRAM_SESSION_LEASE_HANDOVER_FUDGE);
}) != end;
return ident == l.tunnelGateway;
}) != end || l.ExpiresWithin(DATAGRAM_SESSION_LEASE_HANDOVER_WINDOW, DATAGRAM_SESSION_LEASE_HANDOVER_FUDGE);
}
else
return l.ExpiresWithin (DATAGRAM_SESSION_LEASE_HANDOVER_WINDOW, DATAGRAM_SESSION_LEASE_HANDOVER_FUDGE);

Loading…
Cancel
Save