浏览代码

Compilation fix

Joseph Henry 4 年之前
父节点
当前提交
9e8de2a702
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 		/**