Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
improve Java interface
[simgrid.git] / examples / java / bittorrent / Peer.java
index 6ce5a54..569e8b8 100644 (file)
@@ -201,7 +201,7 @@ public class Peer extends Process {
                                }
                        }                       
                }
-               this.hostname = host.getName();
+               this.hostname = getHost().getName();
        }
        /**
         * Retrieves the peer list from the tracker