X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8cb9b7a6662783042181ed7c86a85c789ede456..3031d855f96e457fd7bf25e90c10440a39747567:/examples/msg/app-bittorrent/peer.c?ds=sidebyside diff --git a/examples/msg/app-bittorrent/peer.c b/examples/msg/app-bittorrent/peer.c index 5acba5dd24..e27520e4a9 100644 --- a/examples/msg/app-bittorrent/peer.c +++ b/examples/msg/app-bittorrent/peer.c @@ -227,7 +227,7 @@ void peer_init(peer_t peer, int id, int seed) peer->current_pieces = xbt_dynar_new(sizeof(int), NULL); - peer->stream = (RngStream)MSG_host_get_property_value(MSG_host_self(), "stream"); + peer->stream = (RngStream)MSG_host_get_data(MSG_host_self()); peer->comm_received = NULL; peer->round = 0;