diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-02-01 13:20:51 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-02-01 13:20:51 -0800 |
| commit | b378f5dcd761b5ad76469708c98bf923ec1d7896 (patch) | |
| tree | 996cd3a4f1ee8f5516dd18a1e4a2951ec5c96416 /node/Cluster.cpp | |
| parent | e778d45128295ddf9bbb00f4a46f103de4bc4c11 (diff) | |
| download | infinitytier-b378f5dcd761b5ad76469708c98bf923ec1d7896.tar.gz infinitytier-b378f5dcd761b5ad76469708c98bf923ec1d7896.zip | |
Take 3
Diffstat (limited to 'node/Cluster.cpp')
| -rw-r--r-- | node/Cluster.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Cluster.cpp b/node/Cluster.cpp index ef09e842..75a9f29b 100644 --- a/node/Cluster.cpp +++ b/node/Cluster.cpp @@ -516,10 +516,10 @@ void Cluster::broadcastNetworkConfigChunk(const void *chunk,unsigned int len) } } -int Cluster::prepSendViaCluster(const Address &toPeerAddress,void *peerSecret) +int Cluster::prepSendViaCluster(const Address &toPeerAddress,uint64_t &mostRecentTs,void *peerSecret) { const uint64_t now = RR->node->now(); - uint64_t mostRecentTs = 0; + mostRecentTs = 0; int mostRecentMemberId = -1; { Mutex::Lock _l2(_remotePeers_m); |
