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
Usage of xbt_new0 instead calloc
[simgrid.git]
/
examples
/
msg
/
sendrecv
/
sendrecv.c
diff --git
a/examples/msg/sendrecv/sendrecv.c
b/examples/msg/sendrecv/sendrecv.c
index
5fa6f67
..
22720ab
100644
(file)
--- a/
examples/msg/sendrecv/sendrecv.c
+++ b/
examples/msg/sendrecv/sendrecv.c
@@
-40,7
+40,7
@@
int sender(int argc,char *argv[] )
INFO0("sender");
- host = calloc(1, sizeof(m_host_t));
+ /*host = xbt_new0(m_host_t,1);*/
INFO1("host = %s", argv[1]);