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
Remove host data and had JAVA_HOST_LEVEL
[simgrid.git]
/
examples
/
msg
/
bittorrent
/
tracker.c
diff --git
a/examples/msg/bittorrent/tracker.c
b/examples/msg/bittorrent/tracker.c
index
e60ef77
..
631a456
100644
(file)
--- a/
examples/msg/bittorrent/tracker.c
+++ b/
examples/msg/bittorrent/tracker.c
@@
-20,8
+20,7
@@
int tracker(int argc, char *argv[])
{
int i;
- RngStream stream = MSG_host_get_data(MSG_host_self());
-
+ RngStream stream = (RngStream) MSG_host_get_property_value(MSG_host_self(), "stream");
//Checking arguments
xbt_assert(argc == 2, "Wrong number of arguments for the tracker.");
//Retrieving end time