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
Use MSG_host_by_name() instead of MSG_get_host_by_name()
[simgrid.git]
/
examples
/
msg
/
properties
/
msg_prop.c
diff --git
a/examples/msg/properties/msg_prop.c
b/examples/msg/properties/msg_prop.c
index
d460550
..
74af332
100644
(file)
--- a/
examples/msg/properties/msg_prop.c
+++ b/
examples/msg/properties/msg_prop.c
@@
-37,7
+37,7
@@
msg_error_t test_all(const char *platform_file,
static void test_host(const char*hostname)
{
static void test_host(const char*hostname)
{
- msg_host_t thehost = MSG_
get_
host_by_name(hostname);
+ msg_host_t thehost = MSG_host_by_name(hostname);
xbt_dict_t props = MSG_host_get_properties(thehost);
xbt_dict_cursor_t cursor = NULL;
char *key, *data;
xbt_dict_t props = MSG_host_get_properties(thehost);
xbt_dict_cursor_t cursor = NULL;
char *key, *data;