فهرست منبع

If I want it to pick the first, actually picking the first is helpful.

Adam Ierymenko 11 سال پیش
والد
کامیت
04169b5150
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      node/Peer.cpp

+ 1 - 1
node/Peer.cpp

@@ -117,7 +117,7 @@ bool Peer::send(const RuntimeEnvironment *_r,const void *data,unsigned int len,u
 	std::vector<Path>::iterator bestPath = p;
 	while (++p != _paths.end()) {
 		uint64_t lr = p->lastReceived();
-		if (lr >= bestPathLastReceived) {
+		if (lr > bestPathLastReceived) {
 			bestPathLastReceived = lr;
 			bestPath = p;
 		}