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
Fix Host::execute to use *this as a host location, not the this_actor->get_host()
[simgrid.git]
/
examples
/
c
/
app-bittorrent
/
app-bittorrent.c
diff --git
a/examples/c/app-bittorrent/app-bittorrent.c
b/examples/c/app-bittorrent/app-bittorrent.c
index e8edbb8e210446a20f741f413e21f34276fbafac..fafe793971bd1242ea97bd9032696427d7ca1568 100644
(file)
--- a/
examples/c/app-bittorrent/app-bittorrent.c
+++ b/
examples/c/app-bittorrent/app-bittorrent.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2012-202
2
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2012-202
3
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-20,8
+20,8
@@
int main(int argc, char* argv[])
simgrid_load_platform(argv[1]);
simgrid_load_platform(argv[1]);
- simgrid_register_function("tracker", tracker);
- simgrid_register_function("peer", peer);
+ simgrid_register_function("tracker", tracker
_run
);
+ simgrid_register_function("peer", peer
_run
);
simgrid_load_deployment(argv[2]);
simgrid_load_deployment(argv[2]);