summaryrefslogtreecommitdiff
path: root/node/Cluster.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-01 13:20:51 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-01 13:20:51 -0800
commitb378f5dcd761b5ad76469708c98bf923ec1d7896 (patch)
tree996cd3a4f1ee8f5516dd18a1e4a2951ec5c96416 /node/Cluster.cpp
parente778d45128295ddf9bbb00f4a46f103de4bc4c11 (diff)
downloadinfinitytier-b378f5dcd761b5ad76469708c98bf923ec1d7896.tar.gz
infinitytier-b378f5dcd761b5ad76469708c98bf923ec1d7896.zip
Take 3
Diffstat (limited to 'node/Cluster.cpp')
-rw-r--r--node/Cluster.cpp4
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);