A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unavoidable cosmetic. Sorry for the noise
[simgrid.git]
/
examples
/
java
/
bittorrent
/
Peer.java
diff --git
a/examples/java/bittorrent/Peer.java
b/examples/java/bittorrent/Peer.java
index
32c2d30
..
29472f8
100644
(file)
--- a/
examples/java/bittorrent/Peer.java
+++ b/
examples/java/bittorrent/Peer.java
@@
-481,8
+481,7
@@
public class Peer extends Process {
peerChoosed = null;
}
j++;
- } while (peerChoosed == null && j <
- Common.MAXIMUM_PEERS);
+ } while (peerChoosed == null && j < Common.MAXIMUM_PEERS);
}
else {
Connection fastest = null;