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
plug some easy memleak
[simgrid.git]
/
examples
/
msg
/
app-bittorrent
/
bittorrent.c
diff --git
a/examples/msg/app-bittorrent/bittorrent.c
b/examples/msg/app-bittorrent/bittorrent.c
index
4fc3fb1
..
b469d4e
100644
(file)
--- a/
examples/msg/app-bittorrent/bittorrent.c
+++ b/
examples/msg/app-bittorrent/bittorrent.c
@@
-13,7
+13,6
@@
/** Bittorrent example launcher */
int main(int argc, char *argv[])
{
/** Bittorrent example launcher */
int main(int argc, char *argv[])
{
- xbt_dynar_t host_list;
msg_host_t host;
unsigned i;
msg_host_t host;
unsigned i;
@@
-27,7
+26,7
@@
int main(int argc, char *argv[])
MSG_create_environment(platform_file);
MSG_create_environment(platform_file);
- host_list = MSG_hosts_as_dynar();
+
xbt_dynar_t
host_list = MSG_hosts_as_dynar();
xbt_dynar_foreach(host_list, i, host) {
char descr[512];
RngStream stream;
xbt_dynar_foreach(host_list, i, host) {
char descr[512];
RngStream stream;