Merge #14140: [Net] Switch nPrevNodeCount to vNodesSize

83d53058ae Switch nPrevNodeCount to vNodesSize. (Patrick Strateman)

Pull request description:

  These both have the same value, but the variable naming is confusing.

Tree-SHA512: 4f645e89efdc69884ff4c8bbcf42e2b35d2733687c0fc6ab3f0797e0141fe23ef9cde8bb6ba422f47a88f554e55a099b1f0b3f47cb9fde12db3d46b9a0041bb0
This commit is contained in:
Wladimir J. van der Laan 2018-09-04 12:21:16 +02:00
commit e1b776eb1b
No known key found for this signature in database
GPG key ID: 1E4AED62986CD25D

View file

@ -1227,7 +1227,7 @@ void CConnman::ThreadSocketHandler()
if(vNodesSize != nPrevNodeCount) { if(vNodesSize != nPrevNodeCount) {
nPrevNodeCount = vNodesSize; nPrevNodeCount = vNodesSize;
if(clientInterface) if(clientInterface)
clientInterface->NotifyNumConnectionsChanged(nPrevNodeCount); clientInterface->NotifyNumConnectionsChanged(vNodesSize);
} }
// //