Joseph Henry 4 anni fa
parent
commit
9e8de2a702
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      node/Peer.cpp

+ 1 - 1
node/Peer.cpp

@@ -229,7 +229,7 @@ void Peer::received(
 SharedPtr<Path> Peer::getAppropriatePath(int64_t now, bool includeExpired, int32_t flowId)
 {
 	Mutex::Lock _l(_paths_m);
-	Mutex::Lock _l(_bond_m);
+	Mutex::Lock _lb(_bond_m);
 	if (!_bond) {
 		unsigned int bestPath = ZT_MAX_PEER_NETWORK_PATHS;
 		/**