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
MC: cosmetics
[simgrid.git]
/
examples
/
msg
/
mc
/
bugged1.c
diff --git
a/examples/msg/mc/bugged1.c
b/examples/msg/mc/bugged1.c
index
e709335
..
77e429b
100644
(file)
--- a/
examples/msg/mc/bugged1.c
+++ b/
examples/msg/mc/bugged1.c
@@
-28,7
+28,8
@@
static int server(int argc, char *argv[])
MSG_task_receive(&task, "mymailbox");
count++;
}
MSG_task_receive(&task, "mymailbox");
count++;
}
- MC_assert(xbt_str_parse_int(MSG_task_get_name(task), "Task names must be integers, not '%s'") == 3);
+ int value_got = xbt_str_parse_int(MSG_task_get_name(task), "Task names must be integers, not '%s'");
+ MC_assert(value_got == 3);
XBT_INFO("OK");
return 0;
XBT_INFO("OK");
return 0;