Browse Source

Merge pull request #6636

93ff1b9 net: correctly initialize nMinPingUsecTime (Wladimir J. van der Laan)
pull/1/head
Wladimir J. van der Laan 8 years ago
parent
commit
536207f316
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 1
      src/net.cpp

1
src/net.cpp

@ -2261,6 +2261,7 @@ CNode::CNode(SOCKET hSocketIn, const CAddress& addrIn, const std::string& addrNa @@ -2261,6 +2261,7 @@ CNode::CNode(SOCKET hSocketIn, const CAddress& addrIn, const std::string& addrNa
nPingUsecStart = 0;
nPingUsecTime = 0;
fPingQueued = false;
nMinPingUsecTime = std::numeric_limits<int64_t>::max();
{
LOCK(cs_nLastNodeId);

Loading…
Cancel
Save