Fix infinite loop bug introduced in last commit.
This commit is contained in:
@@ -172,6 +172,8 @@ SharedPtr<Peer> Topology::getBestSupernode(const Address *avoid,unsigned int avo
|
||||
bestSupernode = *sn;
|
||||
}
|
||||
}
|
||||
|
||||
++sn;
|
||||
}
|
||||
|
||||
if (bestSupernode) {
|
||||
|
||||
Reference in New Issue
Block a user