From 877f86a8968017f3d1b43979398f41573e976c5d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 19 Apr 2022 12:44:18 -0400 Subject: [PATCH] build fix --- node/Membership.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/Membership.hpp b/node/Membership.hpp index 803f3218a..49afeafee 100644 --- a/node/Membership.hpp +++ b/node/Membership.hpp @@ -69,7 +69,7 @@ public: * @param lastReceivedCredentials Time we last received updated credentials from the controller * @return True if we haven't pushed credentials in a long time (to cause proactive credential push) */ - inline bool shouldPushCredentials(const int64_t now, const lastReceivedCredentials) const + inline bool shouldPushCredentials(const int64_t now, const int64_t lastReceivedCredentials) const { return ((now - _lastPushedCredentials) > ZT_PEER_ACTIVITY_TIMEOUT) || (lastReceivedCredentials > _lastPushedCredentials); }